btrfs: replace get_seconds with new 64bit time API
authorAllen Pais <allen.lkml@gmail.com>
Tue, 12 Jun 2018 11:48:25 +0000 (17:18 +0530)
committerDavid Sterba <dsterba@suse.com>
Mon, 6 Aug 2018 11:12:29 +0000 (13:12 +0200)
commita944442c2b8a420301e7830f976bab8cc86a2b4d
treef8150413f77e09eab7d76e94b739b9c3bcd56a34
parent1ffaddd029c867d134a1dde39f540dcc8c52e274
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>
fs/btrfs/ctree.h
fs/btrfs/dev-replace.c
fs/btrfs/disk-io.c
fs/btrfs/transaction.c
fs/btrfs/transaction.h