linux/include
Trond Myklebust 565277f63c NFS: Fix a race in sillyrename
lookup() and sillyrename() can race one another because the sillyrename()
completion cannot take the parent directory's inode->i_mutex since the
latter may be held by whoever is calling dput().

We therefore have little option but to add extra locking to ensure that
nfs_lookup() and nfs_atomic_open() do not race with the sillyrename
completion.
If somebody has looked up the sillyrenamed file in the meantime, we just
transfer the sillydelete information to the new dentry.

Please refer to the bug-report at
	http://bugzilla.linux-nfs.org/show_bug.cgi?id=150

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2007-10-19 17:19:16 -04:00
..
acpi
asm-alpha alpha: lock bitops 2007-10-18 14:37:29 -07:00
asm-arm bitops: introduce lock ops 2007-10-18 14:37:29 -07:00
asm-arm26 softlockup: make asm/irq_regs.h available on every platform 2007-10-17 08:42:47 -07:00
asm-avr32 bitops: introduce lock ops 2007-10-18 14:37:29 -07:00
asm-blackfin Replace __attribute_pure__ with __pure 2007-10-18 14:37:32 -07:00
asm-cris bitops: introduce lock ops 2007-10-18 14:37:29 -07:00
asm-frv bitops: introduce lock ops 2007-10-18 14:37:29 -07:00
asm-generic bitops: introduce lock ops 2007-10-18 14:37:29 -07:00
asm-h8300 bitops: introduce lock ops 2007-10-18 14:37:29 -07:00
asm-ia64 ia64: lock bitops 2007-10-18 14:37:29 -07:00
asm-m32r bitops: introduce lock ops 2007-10-18 14:37:29 -07:00
asm-m68k bitops: introduce lock ops 2007-10-18 14:37:29 -07:00
asm-m68knommu bitops: introduce lock ops 2007-10-18 14:37:29 -07:00
asm-mips Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus 2007-10-18 14:51:02 -07:00
asm-parisc bitops: introduce lock ops 2007-10-18 14:37:29 -07:00
asm-powerpc powerpc: lock bitops 2007-10-18 14:37:29 -07:00
asm-ppc Replace __attribute_pure__ with __pure 2007-10-18 14:37:32 -07:00
asm-s390 bitops: introduce lock ops 2007-10-18 14:37:29 -07:00
asm-sh bitops: introduce lock ops 2007-10-18 14:37:29 -07:00
asm-sh64 bitops: introduce lock ops 2007-10-18 14:37:29 -07:00
asm-sparc Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 2007-10-18 14:39:44 -07:00
asm-sparc64 Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 2007-10-18 14:39:44 -07:00
asm-um x86: rename .i assembler includes to .h 2007-10-17 20:16:29 +02:00
asm-v850 bitops: introduce lock ops 2007-10-18 14:37:29 -07:00
asm-x86 bitops: introduce lock ops 2007-10-18 14:37:29 -07:00
asm-xtensa bitops: introduce lock ops 2007-10-18 14:37:29 -07:00
crypto [CRYPTO] sha: Add header file for SHA definitions 2007-10-10 16:55:50 -07:00
keys KEYS: Make request_key() and co fundamentally asynchronous 2007-10-17 08:42:57 -07:00
linux NFS: Fix a race in sillyrename 2007-10-19 17:19:16 -04:00
math-emu
media v4l: copy_to_user() is not a good method name 2007-10-13 09:58:59 -07:00
mtd
net [IPSEC]: Rename mode to outer_mode and add inner_mode 2007-10-17 21:35:51 -07:00
pcmcia pcmcia: use DMA_MASK_NONE for the default for all pcmcia devices 2007-10-16 09:42:50 -07:00
rdma IB/cm: Modify interface to send MRAs in response to duplicate messages 2007-10-09 19:59:17 -07:00
rxrpc
scsi do not export /usr/include/scsi in make headers_install 2007-10-17 08:42:52 -07:00
sound [ALSA] version 1.0.15 2007-10-16 16:57:46 +02:00
video pm2fb: hardware cursor support for the Permedia2 2007-10-16 09:43:18 -07:00
xen xen: fix incorrect vcpu_register_vcpu_info hypercall argument 2007-10-16 11:51:31 -07:00
Kbuild do not export /usr/include/scsi in make headers_install 2007-10-17 08:42:52 -07:00