aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/scrub.c
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2020-10-08 15:24:27 +0300
committerDavid Sterba <dsterba@suse.com>2020-12-07 16:24:00 +0100
commitba1bc00f358190ae1011eae82766aba5c73c9ca2 (patch)
treeaa820b11eb276db32a1254fc726fa03b4235fc46 /fs/btrfs/scrub.c
parentbtrfs: sysfs: export filesystem generation (diff)
downloadlinux-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