return true;
 }
 
-static bool fs_supports_change_attribute(struct super_block *sb)
-{
-       return sb->s_flags & SB_I_VERSION || sb->s_export_op->fetch_iversion;
-}
-
 /*
  * Fill in the pre_op attr for the wcc data
  */
        struct inode    *inode;
        struct kstat    stat;
        bool v4 = (fhp->fh_maxsize == NFS4_FHSIZE);
+       __be32 err;
 
        if (fhp->fh_no_wcc || fhp->fh_pre_saved)
                return;
        inode = d_inode(fhp->fh_dentry);
-       if (fs_supports_change_attribute(inode->i_sb) || !v4) {
-               __be32 err = fh_getattr(fhp, &stat);
-
-               if (err) {
-                       /* Grab the times from inode anyway */
-                       stat.mtime = inode->i_mtime;
-                       stat.ctime = inode->i_ctime;
-                       stat.size  = inode->i_size;
-               }
-               fhp->fh_pre_mtime = stat.mtime;
-               fhp->fh_pre_ctime = stat.ctime;
-               fhp->fh_pre_size  = stat.size;
+       err = fh_getattr(fhp, &stat);
+       if (err) {
+               /* Grab the times from inode anyway */
+               stat.mtime = inode->i_mtime;
+               stat.ctime = inode->i_ctime;
+               stat.size  = inode->i_size;
        }
        if (v4)
                fhp->fh_pre_change = nfsd4_change_attribute(&stat, inode);
 
+       fhp->fh_pre_mtime = stat.mtime;
+       fhp->fh_pre_ctime = stat.ctime;
+       fhp->fh_pre_size  = stat.size;
        fhp->fh_pre_saved = true;
 }
 
 {
        bool v4 = (fhp->fh_maxsize == NFS4_FHSIZE);
        struct inode *inode = d_inode(fhp->fh_dentry);
+       __be32 err;
 
        if (fhp->fh_no_wcc)
                return;
        if (fhp->fh_post_saved)
                printk("nfsd: inode locked twice during operation.\n");
 
-       fhp->fh_post_saved = true;
-
-       if (fs_supports_change_attribute(inode->i_sb) || !v4) {
-               __be32 err = fh_getattr(fhp, &fhp->fh_post_attr);
-
-               if (err) {
-                       fhp->fh_post_saved = false;
-                       fhp->fh_post_attr.ctime = inode->i_ctime;
-               }
-       }
+       err = fh_getattr(fhp, &fhp->fh_post_attr);
+       if (err) {
+               fhp->fh_post_saved = false;
+               fhp->fh_post_attr.ctime = inode->i_ctime;
+       } else
+               fhp->fh_post_saved = true;
        if (v4)
                fhp->fh_post_change =
                        nfsd4_change_attribute(&fhp->fh_post_attr, inode);