summaryrefslogtreecommitdiffstats
path: root/lib/crc64.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-01-23 18:01:34 +0100
committerJens Axboe <axboe@kernel.dk>2020-01-23 19:40:01 +0100
commit6321bef028de43724c47cfa7f9dee69ecb783796 (patch)
tree2662f6f43b7ee040d48c2e9a049b8ab821ebae9b /lib/crc64.c
parentbcache: store a pointer to the on-disk sb in the cache and cached_dev structures (diff)
downloadlinux-6321bef028de43724c47cfa7f9dee69ecb783796.tar.xz
linux-6321bef028de43724c47cfa7f9dee69ecb783796.zip
bcache: use read_cache_page_gfp to read the superblock
Avoid a pointless dependency on buffer heads in bcache by simply open coding reading a single page. Also add a SB_OFFSET define for the byte offset of the superblock instead of using magic numbers. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Coly Li <colyli@suse.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/crc64.c')
0 files changed, 0 insertions, 0 deletions