commit | ce4c3e19e5201424357a0c82176633b32a98d2ec | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Mon May 28 15:37:44 2018 +0800 |
committer | Jens Axboe <axboe@kernel.dk> | Mon May 28 14:53:22 2018 -0600 |
tree | dfb444c2ff7c7fe31eb56315a32daefacc527190 | |
parent | ecb37ce9baac653cc09e2b631393dde3df82979f [diff] |
bcache: Replace bch_read_string_list() by __sysfs_match_string() Kernel library has a common function to match user input from sysfs against an array of strings. Thus, replace bch_read_string_list() by __sysfs_match_string(). Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Coly Li <colyli@suse.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>