diff options
author | David Sterba <[email protected]> | 2022-08-02 15:46:28 +0200 |
---|---|---|
committer | David Sterba <[email protected]> | 2022-09-26 12:27:53 +0200 |
commit | 7f298f224e889dece8d015ee7e3955a2adda60b8 (patch) | |
tree | 4a38310ea1ddf4d2288254686e2ce8cd4fee8433 /fs/btrfs/inode.c | |
parent | f9eab5f0bba76742af654f33d517bf62a0db8f12 (diff) |
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/inode.c')
0 files changed, 0 insertions, 0 deletions