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)
committerVarun Wadekar <vwadekar@nvidia.com>
Wed, 25 Apr 2012 06:14:47 +0000 (11:14 +0530)
commit0ebe14f45c744f36a10f97073c2027eb508f7c6c
treedf023bda8c76f58a0758eea87ca28ab28d8f2b1c
parent6ae7491c75beffe33f09f241067959674aa15afe
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