Trond Myklebust
d530838bfa
NFSv4: Fix problem with OPEN_DOWNGRADE
...
RFC 3530 states that for OPEN_DOWNGRADE "The share_access and share_deny
bits specified must be exactly equal to the union of the share_access and
share_deny bits specified for some subset of the OPENs in effect for
current openowner on the current file.
Setattr is currently violating the NFSv4 rules for OPEN_DOWNGRADE in that
it may cause a downgrade from OPEN4_SHARE_ACCESS_BOTH to
OPEN4_SHARE_ACCESS_WRITE despite the fact that there exists no open file
with O_WRONLY access mode.
Fix the problem by replacing nfs4_find_state() with a modified version of
nfs_find_open_context().
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2005-11-04 15:33:38 -05:00
..
acpi
asm-alpha
[PATCH] semaphore: Remove __MUTEX_INITIALIZER()
2005-10-30 17:37:27 -08:00
asm-arm
[PATCH] ARM: Reverted 2918/1: [update] Base port of Comdial MP1000 platfrom
2005-11-04 17:28:34 +00:00
asm-arm26
[PATCH] semaphore: Remove __MUTEX_INITIALIZER()
2005-10-30 17:37:27 -08:00
asm-cris
[PATCH] semaphore: Remove __MUTEX_INITIALIZER()
2005-10-30 17:37:27 -08:00
asm-frv
[PATCH] semaphore: Remove __MUTEX_INITIALIZER()
2005-10-30 17:37:27 -08:00
asm-generic
[PATCH] mm: update comments to pte lock
2005-10-29 21:40:42 -07:00
asm-h8300
[PATCH] semaphore: Remove __MUTEX_INITIALIZER()
2005-10-30 17:37:27 -08:00
asm-i386
Revert "i386: move apic init in init_IRQs"
2005-10-31 19:16:17 -08:00
asm-ia64
[PATCH] semaphore: Remove __MUTEX_INITIALIZER()
2005-10-30 17:37:27 -08:00
asm-m32r
[PATCH] semaphore: Remove __MUTEX_INITIALIZER()
2005-10-30 17:37:27 -08:00
asm-m68k
[PATCH] semaphore: Remove __MUTEX_INITIALIZER()
2005-10-30 17:37:27 -08:00
asm-m68knommu
[PATCH] m68knommu: add 5208 ColdFire reset/reboot support
2005-11-01 21:41:20 -08:00
asm-mips
[PATCH] semaphore: Remove __MUTEX_INITIALIZER()
2005-10-30 17:37:27 -08:00
asm-parisc
[PATCH] semaphore: Remove __MUTEX_INITIALIZER()
2005-10-30 17:37:27 -08:00
asm-powerpc
Merge ../linux-2.6 by hand
2005-10-31 13:37:12 +11:00
asm-ppc
[PATCH] missing platform_device.h includes
2005-11-01 21:50:01 -08:00
asm-ppc64
Merge ../linux-2.6 by hand
2005-10-31 13:37:12 +11:00
asm-s390
[PATCH] semaphore: Remove __MUTEX_INITIALIZER()
2005-10-30 17:37:27 -08:00
asm-sh
[PATCH] semaphore: Remove __MUTEX_INITIALIZER()
2005-10-30 17:37:27 -08:00
asm-sh64
[PATCH] semaphore: Remove __MUTEX_INITIALIZER()
2005-10-30 17:37:27 -08:00
asm-sparc
[PATCH] semaphore: Remove __MUTEX_INITIALIZER()
2005-10-30 17:37:27 -08:00
asm-sparc64
[PATCH] semaphore: Remove __MUTEX_INITIALIZER()
2005-10-30 17:37:27 -08:00
asm-um
[PATCH] uml: remove old UM_FASTCALL, and make the thing work again
2005-10-30 17:37:16 -08:00
asm-v850
[PATCH] semaphore: Remove __MUTEX_INITIALIZER()
2005-10-30 17:37:27 -08:00
asm-x86_64
manual update from upstream:
2005-10-31 10:51:57 -08:00
asm-xtensa
[PATCH] semaphore: Remove __MUTEX_INITIALIZER()
2005-10-30 17:37:27 -08:00
keys
[PATCH] Keys: Export user-defined keyring operations
2005-10-30 17:37:22 -08:00
linux
NFSv4: Fix problem with OPEN_DOWNGRADE
2005-11-04 15:33:38 -05:00
math-emu
media
[PATCH] i2c: ID redefinition cleanups
2005-10-28 14:02:13 -07:00
mtd
net
Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6
2005-10-29 11:25:16 -07:00
pcmcia
[PATCH] fix missing includes
2005-10-30 17:37:32 -08:00
rdma
rxrpc
scsi
[PATCH] fix missing includes
2005-10-30 17:37:32 -08:00
sound
[PATCH] Creative Audigy 2 cardbus: Add IO window wakeup magic
2005-10-31 16:09:39 -08:00
video