linux-sg2042/include/linux/nfsd
David Shaw a334de2866 [PATCH] knfsd: check error status from vfs_getattr and i_op->fsync
Both vfs_getattr and i_op->fsync return error statuses which nfsd was
largely ignoring.  This as noticed when exporting directories using fuse.

This patch cleans up most of the offences, which involves moving the call
to vfs_getattr out of the xdr encoding routines (where it is too late to
report an error) into the main NFS procedure handling routines.

There is still a called to vfs_gettattr (related to the ACL code) where the
status is ignored, and called to nfsd_sync_dir don't check return status
either.

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-06 08:33:59 -08:00
..
auth.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cache.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
const.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
debug.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
export.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
interface.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
nfsd.h [PATCH] knfsd: Allow run-time selection of NFS versions to export 2005-11-07 07:53:48 -08:00
nfsfh.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
state.h [PATCH] nfsd4: check lock type against openmode. 2005-07-07 18:24:11 -07:00
stats.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
syscall.h [PATCH] knfsd: Allow run-time selection of NFS versions to export 2005-11-07 07:53:48 -08:00
xdr.h [PATCH] knfsd: check error status from vfs_getattr and i_op->fsync 2006-01-06 08:33:59 -08:00
xdr3.h [PATCH] knfsd: check error status from vfs_getattr and i_op->fsync 2006-01-06 08:33:59 -08:00
xdr4.h [PATCH] nfsd4: move replay_owner 2005-09-13 08:22:31 -07:00