nfsd: handle vfs_getattr errors in acl protocol
authorJ. Bruce Fields <bfields@fieldses.org>
Fri, 1 Feb 2013 20:13:04 +0000 (15:13 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 26 Feb 2013 07:46:09 +0000 (02:46 -0500)
commit4f4a4faddea0fe45bf508e723c3a810c5190ed62
tree8c34a07ce0258fcc187f0884f2fc58c7361686bb
parent3dadecce20603aa380023c65e6f55f108fd5e952
nfsd: handle vfs_getattr errors in acl protocol

We're currently ignoring errors from vfs_getattr.

The correct thing to do is to do the stat in the main service procedure
not in the response encoding.

Reported-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/nfsd/nfs2acl.c
fs/nfsd/nfsxdr.c
fs/nfsd/xdr.h
fs/nfsd/xdr3.h