2.6.32.28 update
/fs/nfsd/nfs3xdr.c
blob:d0a2ce1b43248a6eacbff2b4804314c57b898cbc -> blob:856c6d4daea6bc64024f218ee10c6d51cefa68bb
--- fs/nfsd/nfs3xdr.c
+++ fs/nfsd/nfs3xdr.c
@@ -273,9 +273,11 @@ 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;
- else
+ /* Grab the ctime anyway - set_change_info might use it */
+ fhp->fh_post_attr.ctime = fhp->fh_dentry->d_inode->i_ctime;
+ } else
fhp->fh_post_saved = 1;
}