summaryrefslogtreecommitdiff
path: root/fs/btrfs/file-item.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2022-08-02 15:46:28 +0200
committerDavid Sterba <dsterba@suse.com>2022-09-26 12:27:53 +0200
commit7f298f224e889dece8d015ee7e3955a2adda60b8 (patch)
tree4a38310ea1ddf4d2288254686e2ce8cd4fee8433 /fs/btrfs/file-item.c
parentf9eab5f0bba76742af654f33d517bf62a0db8f12 (diff)
downloadlwn-7f298f224e889dece8d015ee7e3955a2adda60b8.tar.gz
lwn-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 <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/file-item.c')
0 files changed, 0 insertions, 0 deletions