]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/nfsd/vfs.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland...
[karo-tx-linux.git] / fs / nfsd / vfs.c
index 1709138affb117fc3ee047a2e61dfffec8d2aa3c..9df85a13af28b03fadc9fa47ae61aeffb4dc911c 100644 (file)
@@ -443,8 +443,7 @@ nfsd_setattr(struct svc_rqst *rqstp, struct svc_fh *fhp, struct iattr *iap,
        if (size_change)
                put_write_access(inode);
        if (!err)
-               if (EX_ISSYNC(fhp->fh_export))
-                       write_inode_now(inode, 1);
+               commit_metadata(fhp);
 out:
        return err;