]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita6b46dbbe017c6c19e2a95b2e82309a5d7d7f057
treef8150413f77e09eab7d76e94b739b9c3bcd56a34
parent2f90b5b1b620bb3e54858865a906572a8537c19d
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