diff options
author | 2020-10-08 15:24:27 +0300 | |
---|---|---|
committer | 2020-12-07 16:24:00 +0100 | |
commit | ba1bc00f358190ae1011eae82766aba5c73c9ca2 (patch) | |
tree | aa820b11eb276db32a1254fc726fa03b4235fc46 /fs/btrfs/scrub.c | |
parent | btrfs: sysfs: export filesystem generation (diff) | |
download | linux-dev-ba1bc00f358190ae1011eae82766aba5c73c9ca2.tar.xz linux-dev-ba1bc00f358190ae1011eae82766aba5c73c9ca2.zip |
btrfs: use helpers to convert from seconds to jiffies in transaction_kthread
The kernel provides easy to understand helpers to convert from human
understandable units to the kernel-friendly 'jiffies'. So let's use
those to make the code easier to understand. No functional changes.
Signed-off-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/scrub.c')
0 files changed, 0 insertions, 0 deletions