]> git.baikalelectronics.ru Git - kernel.git/commit
bcache: remove PTR_CACHE
authorChristoph Hellwig <hch@lst.de>
Sun, 11 Apr 2021 13:43:11 +0000 (21:43 +0800)
committerJens Axboe <axboe@kernel.dk>
Sun, 11 Apr 2021 14:37:55 +0000 (08:37 -0600)
commit6cc33372c9b2060096a9423b7cf9362a8ad084e7
treea75024b60c72538df1937c50a5d06100155b8fd1
parent0df9c8ca1283271ad2abb408e971490defd3a92a
bcache: remove PTR_CACHE

Remove the PTR_CACHE inline and replace it with a direct dereference
of c->cache.

(Coly Li: fix the typo from PTR_BUCKET to PTR_CACHE in commit log)

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Coly Li <colyli@suse.de>
Link: https://lore.kernel.org/r/20210411134316.80274-3-colyli@suse.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/bcache/alloc.c
drivers/md/bcache/bcache.h
drivers/md/bcache/btree.c
drivers/md/bcache/debug.c
drivers/md/bcache/extents.c
drivers/md/bcache/io.c
drivers/md/bcache/journal.c
drivers/md/bcache/writeback.c