]> git.karo-electronics.de Git - linux-beck.git/commit
NFSv4: Propagate the error NFS4ERR_BADOWNER to nfs4_do_setattr
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 22 Feb 2011 23:44:31 +0000 (15:44 -0800)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 11 Mar 2011 20:39:27 +0000 (15:39 -0500)
commit3ddeb7c5c61d0d6bfd837487d3454ffdb788bb91
tree029694613b605d3bf4ed748d1c28d6831f9978b4
parente4fd72a17d2703cfd626c55893ac4ca7e7d81ce9
NFSv4: Propagate the error NFS4ERR_BADOWNER to nfs4_do_setattr

This will be required in order to switch uid/gid mapping back on if the
admin has tried to disable it.

Note that we also propagate NFS4ERR_BADNAME at the same time, in order to
work around a Linux server bug.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4proc.c
fs/nfs/nfs4xdr.c