diff options
author | Tang Junhui <tang.junhui@zte.com.cn> | 2018-03-19 01:36:21 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-03-19 03:15:20 +0100 |
commit | f3641c3abd1da978ee969b0203b71b86ec1bfa93 (patch) | |
tree | 8670c8088ec6c0f3b1f2fd6b5fb6f0afa3f16872 /drivers/md/dm-sysfs.c | |
parent | bcache: fix incorrect sysfs output value of strip size (diff) | |
download | linux-f3641c3abd1da978ee969b0203b71b86ec1bfa93.tar.xz linux-f3641c3abd1da978ee969b0203b71b86ec1bfa93.zip |
bcache: fix error return value in memory shrink
In bch_mca_scan(), the return value should not be the number of freed btree
nodes, but the number of pages of freed btree nodes.
Signed-off-by: Tang Junhui <tang.junhui@zte.com.cn>
Reviewed-by: Michael Lyle <mlyle@lyle.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md/dm-sysfs.c')
0 files changed, 0 insertions, 0 deletions