aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/btrfs_inode.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-06-21 18:04:06 +0200
committerDavid Sterba <dsterba@suse.com>2018-08-06 13:12:39 +0200
commitd3c6be6fdab48dd26af3d3e01c5972ffe20985b9 (patch)
tree7872ddc78464e8f2015db66b33db7494e62b959f /fs/btrfs/btrfs_inode.h
parentbtrfs: use monotonic time for transaction handling (diff)
downloadlinux-dev-d3c6be6fdab48dd26af3d3e01c5972ffe20985b9.tar.xz
linux-dev-d3c6be6fdab48dd26af3d3e01c5972ffe20985b9.zip
btrfs: use timespec64 for i_otime
While the regular inode timestamps all use timespec64 now, the i_otime field is btrfs specific and still needs to be converted to correctly represent times beyond 2038. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/btrfs_inode.h')
-rw-r--r--fs/btrfs/btrfs_inode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/btrfs_inode.h b/fs/btrfs/btrfs_inode.h
index 7e075343daa5..1343ac57b438 100644
--- a/fs/btrfs/btrfs_inode.h
+++ b/fs/btrfs/btrfs_inode.h
@@ -178,7 +178,7 @@ struct btrfs_inode {
struct btrfs_delayed_node *delayed_node;
/* File creation time. */
- struct timespec i_otime;
+ struct timespec64 i_otime;
/* Hook into fs_info->delayed_iputs */
struct list_head delayed_iput;