aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorDavid Sterba <[email protected]>2022-08-02 13:46:28 +0000
committerDavid Sterba <[email protected]>2022-09-26 10:27:53 +0000
commit7f298f224e889dece8d015ee7e3955a2adda60b8 (patch)
tree4a38310ea1ddf4d2288254686e2ce8cd4fee8433 /fs/btrfs/dev-replace.c
parentbtrfs: scrub: try to fix super block errors (diff)
downloadkernel-7f298f224e889dece8d015ee7e3955a2adda60b8.tar.gz
kernel-7f298f224e889dece8d015ee7e3955a2adda60b8.zip
btrfs: sysfs: use sysfs_streq for string matching
We have own string matching helper that duplicates what sysfs_streq does, with a slight difference that it skips initial whitespace. So far this is used for the drive allocation policy. The initial whitespace of written sysfs values should be rather discouraged and we should use a standard helper. Reviewed-by: Johannes Thumshirn <[email protected]> Reviewed-by: Anand Jain <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions