Skip to content

Commit

Permalink
nfsd: fix lost nfserrno() call in nfsd_setattr()
Browse files Browse the repository at this point in the history
There is a regression in
	208d0ac 2014-01-07 nfsd4: break only delegations when appropriate
which deletes an nfserrno() call in nfsd_setattr() (by accident,
probably), and NFSD becomes ignoring an error from VFS.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
  • Loading branch information
J. R. Okajima authored and J. Bruce Fields committed Feb 18, 2014
1 parent 2ec197d commit 1406b91
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/nfsd/vfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,7 @@ nfsd_setattr(struct svc_rqst *rqstp, struct svc_fh *fhp, struct iattr *iap,
fh_lock(fhp);
host_err = notify_change(dentry, iap, NULL);
fh_unlock(fhp);
err = nfserrno(host_err);

out_put_write_access:
if (size_change)
Expand Down

0 comments on commit 1406b91

Please sign in to comment.