xfs: use a struct timespec64 for the in-core crtime
[linux-2.6-microblaze.git] / fs / xfs / xfs_iops.c
index b129e07..fc766b3 100644 (file)
@@ -554,8 +554,7 @@ xfs_vn_getattr(
        if (ip->i_d.di_version == 3) {
                if (request_mask & STATX_BTIME) {
                        stat->result_mask |= STATX_BTIME;
-                       stat->btime.tv_sec = ip->i_d.di_crtime.t_sec;
-                       stat->btime.tv_nsec = ip->i_d.di_crtime.t_nsec;
+                       stat->btime = ip->i_d.di_crtime;
                }
        }