- 29 Sep, 2004 12 commits
-
-
Neil Brown authored
A disconnected dentry can hold an inode active after the last link has been removed. The file will not then be truncated and removed until memory pressure flushes the disconnected dentry from the dcache. This problem can be resolved by making sure that an inode never has both a connected and a disconnected dentry. This is already the case for directories (as they must only have one dentry), but it is not the case for non-directories. This addresses it by: - changes d_alloc_anon to make sure that a new disconnected dentry is only allocated if there is currently no (hashed) dentry for the inode. (Previously this would noramlly be true, but a race was possible). - changes d_splice_alias to re-use a disconnected dentry on non-directories as well as directories. - splits most of d_find_alias out into a separate function to make the above easier. Problem originally reported by Nikita Danilov. Acked by Al Viro ("It looks sane"), and Jakob Oestergaard reports this fixes his problems. Further pushed by Christoph Hellwig. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Linus Torvalds authored
-
Benjamin Herrenschmidt authored
People don't build UP very often it seems ... anyways, it was broken, here is the fix. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Benjamin Herrenschmidt authored
The current code allocating the DART has a couple of bugs, first it's called on all machines including the ones who have no DART (oops), and then it tries to access the device-tree using the "of_chosen" pointer before it was initialized. The enclosed patch fixes these. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Benjamin Herrenschmidt authored
Looks like we never needed them, since that bug has been there forever, I didn't get the right base for the IO cycles on the G5 host bridge in the first place (I probably misinterpreted some OF forth code or something like that).
-
Alan Cox authored
No problems reported other than Linus typo in an unbuildable driver from the last one. This one adds tty_ldisc_flush and also makes tty_wakeup do the queue wake as discussed with Paul. I've then propagated these functions through all the drivers. This means most drivers don't know about the ldisc locking and instead call generic functions that look after it. The result is the removal of a lot of duplicate code both for ldisc referencing and historical code for handling tty ldisc wakeup semantics. A nice side effect is that by adding versions of the two helpers we can switch most of the drivers over before changing the core tty code if preferred. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Jens Axboe authored
Signed-off-by: Jens Axboe <axboe@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Jens Axboe authored
Silly thinko/typo, it needs to check the newly allocated memory for failure of course. Noticed by Stefan Meyknecht. Signed-off-by: Jens Axboe <axboe@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
bk://kernel.bkbits.net/davem/sparc-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
bk://kernel.bkbits.net/davem/net-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
bk://linux-ntfs.bkbits.net/ntfs-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
ssh://linux-ntfs@bkbits.net/ntfs-2.6Richard Russon authored
into flatcap.org:/home/flatcap/backup/bk/ntfs-2.6
-
- 28 Sep, 2004 26 commits
-
-
Anton Altaparmakov authored
into cantab.net:/home/src/ntfs-2.6
-
Richard Russon authored
into flatcap.org:/home/flatcap/backup/bk/ntfs-2.6
-
Patrick McHardy authored
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
-
David S. Miller authored
Signed-off-by: David S. Miller <davem@davemloft.net>
-
ssh://linux-ntfs@bkbits.net/ntfs-2.6Richard Russon authored
into flatcap.org:/home/flatcap/backup/bk/ntfs-2.6
-
Anton Altaparmakov authored
typed enums. This completes the sparse annotations in NTFS. Signed-off-by: Anton Altaparmakov <aia21@cantab.net>
-
David S. Miller authored
They are just a nuissance. Signed-off-by: David S. Miller <davem@davemloft.net>
-
Nishanth Aravamudan authored
Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-
Nishanth Aravamudan authored
Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-
David S. Miller authored
Signed-off-by: David S. Miller <davem@davemloft.net>
-
Herbert Xu authored
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
-
Harald Welte authored
This patch moves the following files in /proc: /proc/net/rt_cache_stat /proc/net/stat/rt_cache /proc/net/ip_conntrack_stat /proc/net/stat/ip_conntrack /proc/net/arp_cache_stat /proc/net/stat/arp_cache /proc/net/clip_arp_cache_stat /proc/net/stat/clip_arp_cache /proc/net/dn_neigh_cache_stat /proc/net/stat/dn_neigh_cache This allows a generic statistics tool to scan for all available statistics by doing readdir(2) on /proc/net/stat It also adds a special first 'template' line to rt_cache and ip_conntrack in order to facilitate compatibility once somebody adds new fields to the output lines. WARNING: This breaks existing rtstat.c and ctstat.c userspace programs (hopefully for the last time). rtstat is non-existant or broken in major distributions anyway, and ctstat is too new for any distros having it picked up. Therefore, we justify this breakage. A new unified statistics tool for routing cache, connection tracking and neighbour cache is under development and will be included with iproute2. Signed-off-by: Harald Welte <laforge@gnumonks.org> Signed-off-by: David S. Miller <davem@davemloft.net>
-
bk://bk.skbuff.net:20609/linux-2.6-inet6-20040928/David S. Miller authored
into nuts.davemloft.net:/disk1/BK/net-2.6
-
Hideaki Yoshifuji authored
Signed-off-by: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
-
Hideaki Yoshifuji authored
We need to rewind skb pointers when we forward a packet to other host because dst_input() assumes that skb->data points head of ipv6 protocol header. Signed-off-by: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
-
Colin Phipps authored
Signed-off-by: Adnaldo Carvalho de Melo <acme@conectiva.com.br> Signed-off-by: David S. Miller <davem@davemloft.net>
-
Thomas Graf authored
Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
-
Aaron Grothe authored
Signed-off-by: Aaron Grothe <ajgrothe@yahoo.com> Signed-off-by: James Morris <jmorris@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-
Thomas Graf authored
Report parent classid of a qdisc back to userspace. Without this there is no way for userspace to see if the qdisc is attached to a class other than parsing all class trees of the link and check all tcm_info fields in the leaf classes. Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
-
David S. Miller authored
Based upon a bug fix patch and suggestions from Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
-
David S. Miller authored
Also fix the return value of tcp_sync_mss() to be unsigned. Signed-off-by: David S. Miller <davem@davemloft.net>
-
David S. Miller authored
into nuts.davemloft.net:/disk1/BK/net-2.6
-
Linus Torvalds authored
-
bk://kernel.bkbits.net//home/mochel/linux-2.6-powerLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Jens Axboe authored
There's an issue with bio_uncopy_user() in that it expects ->bv_len to be untouched from io submission to io completion, which it wont be for some transfer lengths on some hardware. So we end up not copying all the data back to user space, not so good. This patch adds a bio_map_data local structure to track the io_vec. Signed-off-by: Jens Axboe <axboe@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
http://oss.sgi.com:8090/xfs-linux-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
- 29 Sep, 2004 2 commits
-
-
Nathan Scott authored
fixes two deadlocks when near-full and fixes a 4KSTACKS problem in XFS. SGI Modid: xfs-linux:xfs-kern:19600a Signed-off-by: Nathan Scott <nathans@sgi.com>
-
Nathan Scott authored
Signed-off-by: Nathan Scott <nathans@sgi.com>
-