diff options
Diffstat (limited to 'libbcachefs/sysfs.c')
-rw-r--r-- | libbcachefs/sysfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbcachefs/sysfs.c b/libbcachefs/sysfs.c index 5e341a71..66b5b9f9 100644 --- a/libbcachefs/sysfs.c +++ b/libbcachefs/sysfs.c @@ -921,7 +921,7 @@ STORE(bch2_dev) } if (attr == &sysfs_cache_replacement_policy) { - ssize_t v = bch2_read_string_list(buf, bch2_cache_replacement_policies); + ssize_t v = __sysfs_match_string(bch2_cache_replacement_policies, -1, buf); if (v < 0) return v; |