commit | f3641c3abd1da978ee969b0203b71b86ec1bfa93 | [log] [tgz] |
---|---|---|
author | Tang Junhui <tang.junhui@zte.com.cn> | Sun Mar 18 17:36:21 2018 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Sun Mar 18 20:15:20 2018 -0600 |
tree | 8670c8088ec6c0f3b1f2fd6b5fb6f0afa3f16872 | |
parent | 688892b3bc05e25da94866e32210e5f503f16f69 [diff] |
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>