]> git.baikalelectronics.ru Git - kernel.git/commit
bcache: use a separate data structure for the on-disk super block
authorChristoph Hellwig <hch@lst.de>
Thu, 23 Jan 2020 17:01:27 +0000 (01:01 +0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 23 Jan 2020 18:40:00 +0000 (11:40 -0700)
commit0c7deaf26d9872e29a04ec5d34257b5d31118ee4
tree8a50b865f2ebfc18ce83e99ba217195dd591ceb7
parent38807f77ef5d2fabeff6b9418f2a0e40f9e98155
bcache: use a separate data structure for the on-disk super block

Split out an on-disk version struct cache_sb with the proper endianness
annotations.  This fixes a fair chunk of sparse warnings, but there are
some left due to the way the checksum is defined.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Coly Li <colyli@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/bcache/super.c
include/uapi/linux/bcache.h