diff options
author | Allen Pais <allen.lkml@gmail.com> | 2018-06-12 17:18:25 +0530 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-08-06 13:12:29 +0200 |
commit | a944442c2b8a420301e7830f976bab8cc86a2b4d (patch) | |
tree | f8150413f77e09eab7d76e94b739b9c3bcd56a34 /fs/btrfs/transaction.h | |
parent | 1ffaddd029c867d134a1dde39f540dcc8c52e274 (diff) |
btrfs: replace get_seconds with new 64bit time API
The get_seconds() function is deprecated as it truncates the timestamp
to 32 bits. Change it to or ktime_get_real_seconds().
Signed-off-by: Allen Pais <allen.lkml@gmail.com>
Reviewed-by: David Sterba <dsterba@suse.com>
[ update changelog ]
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/transaction.h')
-rw-r--r-- | fs/btrfs/transaction.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/transaction.h b/fs/btrfs/transaction.h index 94439482a0ec..4cbb1b55387d 100644 --- a/fs/btrfs/transaction.h +++ b/fs/btrfs/transaction.h @@ -48,7 +48,7 @@ struct btrfs_transaction { int aborted; struct list_head list; struct extent_io_tree dirty_pages; - unsigned long start_time; + time64_t start_time; wait_queue_head_t writer_wait; wait_queue_head_t commit_wait; wait_queue_head_t pending_wait; |