revert android-tegra-2.6.36-honeycomb-mr1-9001adc to v2.6.36
[firefly-linux-kernel-4.4.55.git] / fs / nfsd / nfs3xdr.c
index 7e84a852cdae8117334fec6ee00d085fc29c0c66..2a533a0af2a98ed91afb84e71669d328cb67a866 100644 (file)
@@ -260,11 +260,9 @@ void fill_post_wcc(struct svc_fh *fhp)
        err = vfs_getattr(fhp->fh_export->ex_path.mnt, fhp->fh_dentry,
                        &fhp->fh_post_attr);
        fhp->fh_post_change = fhp->fh_dentry->d_inode->i_version;
-       if (err) {
+       if (err)
                fhp->fh_post_saved = 0;
-               /* Grab the ctime anyway - set_change_info might use it */
-               fhp->fh_post_attr.ctime = fhp->fh_dentry->d_inode->i_ctime;
-       } else
+       else
                fhp->fh_post_saved = 1;
 }