diff options
author | David Shaw <dshaw@jabberwocky.com> | 2006-01-18 17:43:51 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-18 19:20:28 -0800 |
commit | 846f2fcd77850ef8f0aab46df9cadd5c35a5fef0 (patch) | |
tree | 45fec50c1f597c2aa3b0aa731f00b9d24c9aa668 /net/dccp/diag.c | |
parent | 45bd3b3dffaa9fb1706fe001bf66276d0997a850 (diff) |
[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>
Diffstat (limited to 'net/dccp/diag.c')
0 files changed, 0 insertions, 0 deletions