Commit 1406b916f4a29d5f9660264a28ce609c8c77e7ae

Authored by J. R. Okajima
Committed by J. Bruce Fields
1 parent 2ec197db1a

nfsd: fix lost nfserrno() call in nfsd_setattr()

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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

... ... @@ -449,6 +449,7 @@
449 449 fh_lock(fhp);
450 450 host_err = notify_change(dentry, iap, NULL);
451 451 fh_unlock(fhp);
  452 + err = nfserrno(host_err);
452 453  
453 454 out_put_write_access:
454 455 if (size_change)