commit | e8547d42095e58bee658f00fef8e33d2a185c927 | [log] [tgz] |
---|---|---|
author | Liang Chen <liangchen.linux@gmail.com> | Fri Jan 24 01:01:26 2020 +0800 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Jan 23 11:40:00 2020 -0700 |
tree | 0d99f0fea277b4847ee8982a2909627a5af0a02d | |
parent | 7454049eb7e426a3bc9cc7b3fd5857c2d6ceeaee [diff] |
bcache: cached_dev_free needs to put the sb page Same as cache device, the buffer page needs to be put while freeing cached_dev. Otherwise a page would be leaked every time a cached_dev is stopped. Signed-off-by: Liang Chen <liangchen.linux@gmail.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Coly Li <colyli@suse.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>