X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=fs%2Fnfsd%2Fvfs.c;h=9df85a13af28b03fadc9fa47ae61aeffb4dc911c;hb=0d9f9e122c74583de15a86d1c660c08dc298f2c8;hp=1709138affb117fc3ee047a2e61dfffec8d2aa3c;hpb=998db52c03cd293d16a457f1b396cea932244147;p=android-x86%2Fkernel.git diff --git a/fs/nfsd/vfs.c b/fs/nfsd/vfs.c index 1709138affb1..9df85a13af28 100644 --- a/fs/nfsd/vfs.c +++ b/fs/nfsd/vfs.c @@ -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;