diff options
| author | David Shaw <[email protected]> | 2006-01-06 00:19:58 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-01-06 08:33:59 -0800 |
| commit | a334de28665b14f0a33df82699fa9a78cfeedf31 (patch) | |
| tree | 21749c30159b1e0bf4cae7e174ec1bdcf3859ef4 /scripts | |
| parent | 93fbf1a5de8afde08988dda3735669099dee84d0 (diff) | |
[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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions