summaryrefslogtreecommitdiff
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2022-08-02 16:46:28 +0300
committerDavid Sterba <dsterba@suse.com>2022-09-26 13:27:53 +0300
commit7f298f224e889dece8d015ee7e3955a2adda60b8 (patch)
tree4a38310ea1ddf4d2288254686e2ce8cd4fee8433 /fs/btrfs/dev-replace.c
parentf9eab5f0bba76742af654f33d517bf62a0db8f12 (diff)
downloadlinux-7f298f224e889dece8d015ee7e3955a2adda60b8.tar.xz
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 <johannes.thumshirn@wdc.com> Reviewed-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions