android_kernel_xiaomi_sm8350/fs/nfsd
David Shaw 846f2fcd77 [PATCH] knfsd: Provide missing NFSv2 part of patch for checking vfs_getattr.
A recent patch which checked the return status of vfs_getattr in nfsd,
completely missed the nfsproc.c (NFSv2) part.  Here is it.

This patch moved the call to vfs_getattr from the xdr encoding (at which point
it is too late to return an error) to the call handling.  This means several
calls to vfs_getattr are needed in nfsproc.c.  Many are encapsulated in
nfsd_return_attrs and nfsd_return_dirop.

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-01-18 19:20:28 -08:00
..
auth.c
export.c [PATCH] kfree cleanup: fs 2005-11-07 07:54:06 -08:00
lockd.c
Makefile
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: check error status from vfs_getattr and i_op->fsync 2006-01-06 08:33:59 -08: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
nfs4callback.c SUNRPC: get rid of cl_chatty 2006-01-06 14:58:56 -05:00
nfs4idmap.c
nfs4proc.c [PATCH] nfsd4: clean up settattr code 2006-01-18 19:20:27 -08:00
nfs4recover.c [PATCH] nfsd4: recovery lookup dir check 2006-01-18 19:20:26 -08:00
nfs4state.c [PATCH] nfsd4_lock() returns bogus values to clients 2006-01-18 19:20:28 -08:00
nfs4xdr.c [PATCH] nfsd4: Fix bug in rdattr_error return 2006-01-18 19:20:27 -08:00
nfscache.c [PATCH] kfree cleanup: fs 2005-11-07 07:54:06 -08:00
nfsctl.c
nfsfh.c
nfsproc.c [PATCH] knfsd: Provide missing NFSv2 part of patch for checking vfs_getattr. 2006-01-18 19:20:28 -08:00
nfssvc.c
nfsxdr.c [PATCH] Unlinline a bunch of other functions 2006-01-14 18:27:06 -08:00
stats.c
vfs.c [PATCH] knfsd: Fix some more errno/nfserr confusion in vfs.c 2006-01-18 19:20:28 -08:00