WSL2-Linux-Kernel/fs/nfsd
NeilBrown b5872b0dcc [PATCH] knfsd: nfsd4: fix acl xattr length return
We should be using the length from the second vfs_getxattr, in case it
changed.  (Note: there's still a small race here; we could end up returning
-ENOMEM if the length increased between the first and second call.  I don't
know whether it's worth spending a lot of effort to fix that.)

This makes XFS ACLs usable on NFS exports, which they currently aren't, since
XFS appears to be returning a too-large value for vfs_getxattr() when it's
passed a NULL buffer.  So there's probably an XFS bug here too, though since
getxattr with a NULL buffer is usually used to decide how much memory to
allocate, it may be a fairly harmless bug in most cases.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-04-11 06:18:51 -07:00
..
Makefile [PATCH] knfsd: nfsd4: reboot hash 2005-06-24 00:06:33 -07:00
auth.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
export.c [PATCH] fs/nfsd/export.c,net/sunrpc/cache.c: make needlessly global code static 2006-03-27 08:44:43 -08:00
lockd.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
nfs2acl.c [PATCH] nfsd: check for read-only exports before setting acls 2005-12-20 10:31:33 -08:00
nfs3acl.c [PATCH] nfsd: check for read-only exports before setting acls 2005-12-20 10:31:33 -08:00
nfs3proc.c [PATCH] knfsd: Correct reserved reply space for read requests. 2006-04-11 06:18:51 -07:00
nfs3xdr.c [PATCH] knfsd: check error status from vfs_getattr and i_op->fsync 2006-01-06 08:33:59 -08:00
nfs4acl.c [PATCH] knfsd: nfsd4: better nfs4acl errors 2006-04-11 06:18:51 -07:00
nfs4callback.c Merge git://git.linux-nfs.org/pub/linux/nfs-2.6 2006-03-25 09:18:27 -08:00
nfs4idmap.c [PATCH] knfsd: Convert sunrpc_cache to use krefs 2006-03-27 08:44:43 -08:00
nfs4proc.c [PATCH] knfsd: Correct reserved reply space for read requests. 2006-04-11 06:18:51 -07:00
nfs4recover.c [PATCH] nfsd4: recovery lookup dir check 2006-01-18 19:20:26 -08:00
nfs4state.c [PATCH] fs/nfsd/nfs4state.c: make a struct static 2006-04-11 06:18:51 -07:00
nfs4xdr.c [PATCH] knfsd: nfsd4: better nfs4acl errors 2006-04-11 06:18:51 -07:00
nfscache.c [PATCH] kfree cleanup: fs 2005-11-07 07:54:06 -08:00
nfsctl.c [PATCH] Make most file operations structs in fs/ const 2006-03-28 09:16:06 -08:00
nfsfh.c [PATCH] knfsd: Convert sunrpc_cache to use krefs 2006-03-27 08:44:43 -08:00
nfsproc.c [PATCH] knfsd: Correct reserved reply space for read requests. 2006-04-11 06:18:51 -07:00
nfssvc.c [PATCH] fs: Use ARRAY_SIZE macro 2006-03-24 07:33:19 -08:00
nfsxdr.c [PATCH] Unlinline a bunch of other functions 2006-01-14 18:27:06 -08:00
stats.c [PATCH] Make most file operations structs in fs/ const 2006-03-28 09:16:06 -08:00
vfs.c [PATCH] knfsd: nfsd4: fix acl xattr length return 2006-04-11 06:18:51 -07:00