nfsd: convert to new timestamp accessors
[sfrench/cifs-2.6.git] / fs / nfsd / vfs.c
index 48260cf68fde8b73510ff7cc5a833cc8b5e66e84..0144648c3e4db21f19b66fbd94e0b5da755c76c5 100644 (file)
@@ -520,7 +520,7 @@ nfsd_setattr(struct svc_rqst *rqstp, struct svc_fh *fhp,
 
        nfsd_sanitize_attrs(inode, iap);
 
-       if (check_guard && guardtime != inode_get_ctime(inode).tv_sec)
+       if (check_guard && guardtime != inode_get_ctime_sec(inode))
                return nfserr_notsync;
 
        /*