diff options
author | Coly Li <colyli@suse.de> | 2019-06-28 13:59:43 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-06-28 15:39:16 +0200 |
commit | 5461999848e0462c14f306a62923d22de820a59c (patch) | |
tree | d82606c2a58b4429df50271d1927a9a8760d9d9f /Documentation/cma | |
parent | bcache: add pendings_cleanup to stop pending bcache device (diff) | |
download | linux-5461999848e0462c14f306a62923d22de820a59c.tar.xz linux-5461999848e0462c14f306a62923d22de820a59c.zip |
bcache: fix mistaken sysfs entry for io_error counter
In bch_cached_dev_files[] from driver/md/bcache/sysfs.c, sysfs_errors is
incorrectly inserted in. The correct entry should be sysfs_io_errors.
This patch fixes the problem and now I/O errors of cached device can be
read from /sys/block/bcache<N>/bcache/io_errors.
Fixes: c7b7bd07404c5 ("bcache: add io_disable to struct cached_dev")
Signed-off-by: Coly Li <colyli@suse.de>
Cc: stable@vger.kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'Documentation/cma')
0 files changed, 0 insertions, 0 deletions