nfsd: fix b0rken error value for setattr on read-only mount
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 13 Apr 2012 03:47:00 +0000 (23:47 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 13 Apr 2012 14:12:00 +0000 (10:12 -0400)
commit96f6f98501196d46ce52c2697dd758d9300c63f5
tree08d3795842459047a88ade0708fc10c8b91656bb
parentecca5c3acc0d0933d89abc44e60afb0cc8170e35
nfsd: fix b0rken error value for setattr on read-only mount

..._want_write() returns -EROFS on failure, _not_ an NFS error value.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/nfsd/nfs4proc.c