diff options
author | Coly Li <colyli@suse.de> | 2019-06-28 14:59:43 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-07-26 10:12:55 +0300 |
commit | f85c665b20a5a9a700c9b0707f7a960a1ea2ae14 (patch) | |
tree | 5a5d5544664f5280c15a972076cb1296bc2bc3fe /drivers/phy/amlogic | |
parent | 4fd16a855cf5ac464a446ddafcbedecf8734a453 (diff) | |
download | linux-f85c665b20a5a9a700c9b0707f7a960a1ea2ae14.tar.xz |
bcache: fix mistaken sysfs entry for io_error counter
commit 5461999848e0462c14f306a62923d22de820a59c upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/phy/amlogic')
0 files changed, 0 insertions, 0 deletions