Jeff Layton
aa53ed541a
NFS4: on a O_EXCL OPEN make sure SETATTR sets the fields holding the verifier
...
The Linux NFS4 client simply skips over the bitmask in an O_EXCL open
call and so it doesn't bother to reset any fields that may be holding
the verifier. This patch has us save the first two words of the bitmask
(which is all the current client has #defines for). The client then
later checks this bitmask and turns on the appropriate flags in the
sattr->ia_verify field for the following SETATTR call.
This patch only currently checks to see if the server used the atime
and mtime slots for the verifier (which is what the Linux server uses
for this). I'm not sure of what other fields the server could
reasonably use, but adding checks for others should be trivial.
Signed-off-by: Jeff Layton <[email protected] >
Signed-off-by: Trond Myklebust <[email protected] >
2007-07-10 23:40:25 -04:00
..
9p
Detach sched.h from mm.h
2007-05-21 09:18:19 -07:00
adfs
sendfile: remove .sendfile from filesystems that use generic_file_sendfile()
2007-07-10 08:04:13 +02:00
affs
sendfile: remove .sendfile from filesystems that use generic_file_sendfile()
2007-07-10 08:04:13 +02:00
afs
sendfile: remove .sendfile from filesystems that use generic_file_sendfile()
2007-07-10 08:04:13 +02:00
autofs
autofs4
befs
Remove SLAB_CTOR_CONSTRUCTOR
2007-05-17 05:23:04 -07:00
bfs
sendfile: remove .sendfile from filesystems that use generic_file_sendfile()
2007-07-10 08:04:13 +02:00
cifs
sendfile: remove .sendfile from filesystems that use generic_file_sendfile()
2007-07-10 08:04:13 +02:00
coda
sendfile: remove .sendfile from filesystems that use generic_file_sendfile()
2007-07-10 08:04:13 +02:00
configfs
Detach sched.h from mm.h
2007-05-21 09:18:19 -07:00
cramfs
debugfs
devpts
dlm
[DLM] dump more lock values
2007-07-09 08:24:13 +01:00
ecryptfs
sendfile: remove .sendfile from filesystems that use generic_file_sendfile()
2007-07-10 08:04:13 +02:00
efs
Remove SLAB_CTOR_CONSTRUCTOR
2007-05-17 05:23:04 -07:00
exportfs
ext2
xip sendfile removal
2007-07-10 08:04:15 +02:00
ext3
sendfile: remove .sendfile from filesystems that use generic_file_sendfile()
2007-07-10 08:04:13 +02:00
ext4
sendfile: remove .sendfile from filesystems that use generic_file_sendfile()
2007-07-10 08:04:13 +02:00
fat
sendfile: remove .sendfile from filesystems that use generic_file_sendfile()
2007-07-10 08:04:13 +02:00
freevxfs
fuse
sendfile: remove .sendfile from filesystems that use generic_file_sendfile()
2007-07-10 08:04:13 +02:00
gfs2
Merge git://git.kernel.org/pub/scm/linux/kernel/git/steve/gfs2-2.6-nmw
2007-07-10 13:56:13 -07:00
hfs
sendfile: remove .sendfile from filesystems that use generic_file_sendfile()
2007-07-10 08:04:13 +02:00
hfsplus
sendfile: remove .sendfile from filesystems that use generic_file_sendfile()
2007-07-10 08:04:13 +02:00
hostfs
sendfile: remove .sendfile from filesystems that use generic_file_sendfile()
2007-07-10 08:04:13 +02:00
hpfs
sendfile: remove .sendfile from filesystems that use generic_file_sendfile()
2007-07-10 08:04:13 +02:00
hppfs
hugetlbfs
shm: fix the filename of hugetlb sysv shared memory
2007-06-16 13:16:16 -07:00
isofs
Remove SLAB_CTOR_CONSTRUCTOR
2007-05-17 05:23:04 -07:00
jbd
jbd2
jffs2
sendfile: remove .sendfile from filesystems that use generic_file_sendfile()
2007-07-10 08:04:13 +02:00
jfs
sendfile: remove .sendfile from filesystems that use generic_file_sendfile()
2007-07-10 08:04:13 +02:00
lockd
minix
sendfile: remove .sendfile from filesystems that use generic_file_sendfile()
2007-07-10 08:04:13 +02:00
msdos
ncpfs
Detach sched.h from mm.h
2007-05-21 09:18:19 -07:00
nfs
NFS4: on a O_EXCL OPEN make sure SETATTR sets the fields holding the verifier
2007-07-10 23:40:25 -04:00
nfs_common
nfsd
pipe: change the ->pin() operation to ->confirm()
2007-07-10 08:04:15 +02:00
nls
ntfs
sendfile: remove .sendfile from filesystems that use generic_file_sendfile()
2007-07-10 08:04:13 +02:00
ocfs2
pipe: change the ->pin() operation to ->confirm()
2007-07-10 08:04:15 +02:00
openpromfs
Remove SLAB_CTOR_CONSTRUCTOR
2007-05-17 05:23:04 -07:00
partitions
[S390] fixed cdl-format detection.
2007-07-10 11:24:44 +02:00
proc
sched: scheduler debugging, core
2007-07-09 18:52:00 +02:00
qnx4
sendfile: remove .sendfile from filesystems that use generic_file_sendfile()
2007-07-10 08:04:13 +02:00
ramfs
sendfile: remove .sendfile from filesystems that use generic_file_sendfile()
2007-07-10 08:04:13 +02:00
reiserfs
sendfile: remove .sendfile from filesystems that use generic_file_sendfile()
2007-07-10 08:04:13 +02:00
romfs
Remove SLAB_CTOR_CONSTRUCTOR
2007-05-17 05:23:04 -07:00
smbfs
sendfile: remove .sendfile from filesystems that use generic_file_sendfile()
2007-07-10 08:04:13 +02:00
sysfs
sysfs: fix race condition around sd->s_dentry, take#2
2007-06-12 16:08:47 -07:00
sysv
sendfile: remove .sendfile from filesystems that use generic_file_sendfile()
2007-07-10 08:04:13 +02:00
udf
sendfile: remove .sendfile from filesystems that use generic_file_sendfile()
2007-07-10 08:04:13 +02:00
ufs
sendfile: remove .sendfile from filesystems that use generic_file_sendfile()
2007-07-10 08:04:13 +02:00
vfat
xfs
sendfile: remove .sendfile from filesystems that use generic_file_sendfile()
2007-07-10 08:04:13 +02:00
aio.c
anon_inodes.c
attr.c
bad_inode.c
sendfile: remove bad_sendfile() from bad_file_ops
2007-07-10 08:04:15 +02:00
binfmt_aout.c
binfmt_elf.c
Fix elf_core_dump() when writing arch specific notes (spu coredumps)
2007-07-06 10:23:43 -07:00
binfmt_elf_fdpic.c
binfmt_em86.c
binfmt_flat.c
nommu: report correct errno in message
2007-06-08 17:23:32 -07:00
binfmt_misc.c
Detach sched.h from mm.h
2007-05-21 09:18:19 -07:00
binfmt_script.c
binfmt_som.c
bio.c
unexport bio_{,un}map_user
2007-07-10 08:03:34 +02:00
block_dev.c
sendfile: remove .sendfile from filesystems that use generic_file_sendfile()
2007-07-10 08:04:13 +02:00
buffer.c
Fix "fs: convert core functions to zero_user_page"
2007-05-21 09:15:32 -07:00
char_dev.c
compat.c
optimize compat_core_sys_select() by a using stack space for small fd sets
2007-05-23 20:14:12 -07:00
compat_ioctl.c
fix compat console unimap regression
2007-05-25 17:37:46 -07:00
dcache.c
dcookies.c
direct-io.c
dio: remove bogus refcounting BUG_ON
2007-07-03 18:23:23 -07:00
dnotify.c
dquot.c
circular locking dependency found in QUOTA OFF
2007-05-17 05:23:05 -07:00
drop_caches.c
eventfd.c
eventfd use waitqueue lock ...
2007-05-18 13:09:34 -07:00
eventpoll.c
exec.c
uselib: add missing MNT_NOEXEC check
2007-05-23 20:14:13 -07:00
fcntl.c
fifo.c
Detach sched.h from mm.h
2007-05-21 09:18:19 -07:00
file.c
file_table.c
filesystems.c
fs-writeback.c
generic_acl.c
inode.c
Remove SLAB_CTOR_CONSTRUCTOR
2007-05-17 05:23:04 -07:00
inotify.c
inotify_user.c
internal.h
ioctl.c
vanishing ioctl handler debugging
2007-06-04 13:25:10 -07:00
ioprio.c
Kconfig
Kconfig.binfmt
fs: Kill sh dependency for binfmt_flat.
2007-05-21 14:34:00 +09:00
libfs.c
locks.c
Remove SLAB_CTOR_CONSTRUCTOR
2007-05-17 05:23:04 -07:00
Makefile
mbcache.c
mpage.c
namei.c
namespace.c
nfsctl.c
no-block.c
open.c
pipe.c
pipe: add documentation and comments
2007-07-10 08:04:16 +02:00
pnode.c
pnode.h
posix_acl.c
quota.c
circular locking dependency found in QUOTA OFF
2007-05-17 05:23:05 -07:00
quota_v1.c
quota_v2.c
read_write.c
Remove remnants of sendfile()
2007-07-10 08:04:15 +02:00
read_write.h
readdir.c
select.c
seq_file.c
Make common helpers for seq_files that work with list_heads
2007-07-10 17:51:13 -07:00
signalfd.c
avoid spurious POLLIN returns in signalfd
2007-06-28 11:34:54 -07:00
splice.c
pipe: add documentation and comments
2007-07-10 08:04:16 +02:00
stack.c
stat.c
super.c
sync.c
Introduce fixed sys_sync_file_range2() syscall, implement on PowerPC and ARM
2007-06-28 11:38:30 -07:00
timerfd.c
timerfd use waitqueue lock ...
2007-05-18 13:09:34 -07:00
utimes.c
Fix permission checking for the new utimensat() system call
2007-07-08 12:02:55 -07:00
xattr.c
xattr_acl.c