[PATCH] knfsd: nfsd4: better nfs4acl errors
commitb905b7b0a054d2ab3e0c9304def998546c93f6b5
authorNeilBrown <neilb@suse.de>
Tue, 11 Apr 2006 05:55:25 +0000 (10 22:55 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 11 Apr 2006 13:18:51 +0000 (11 06:18 -0700)
tree688aaf8ee7840072a1ea7b4b299068d6e33a1840
parent249920527f9e6e5c305538bbf1ea882ee7dc1c06
[PATCH] knfsd: nfsd4: better nfs4acl errors

We're returning -1 in a few places in the NFSv4<->POSIX acl translation code
where we could return a reasonable error.

Also allows some minor simplification elsewhere.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/nfsd/nfs4acl.c
fs/nfsd/nfs4xdr.c