bcache: move uapi header bcache.h to bcache code directory
authorColy Li <colyli@suse.de>
Fri, 29 Oct 2021 06:09:29 +0000 (14:09 +0800)
committerJens Axboe <axboe@kernel.dk>
Fri, 29 Oct 2021 12:43:21 +0000 (06:43 -0600)
commitcf2197ca4b8c199d188593ca6800ea1827c42171
tree5b15e67fb51b692565ac42be430f654c2a3e2e67
parentca7787973a8652651bf391a5be6bec236a367c9c
bcache: move uapi header bcache.h to bcache code directory

The header file include/uapi/linux/bcache.h is not really a user space
API heaer. This file defines the ondisk format of bcache internal meta
data but no one includes it from user space, bcache-tools has its own
copy of this header with minor modification.

Therefore, this patch moves include/uapi/linux/bcache.h to bcache code
directory as drivers/md/bcache/bcache_ondisk.h.

Suggested-by: Arnd Bergmann <arnd@kernel.org>
Suggested-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Coly Li <colyli@suse.de>
Link: https://lore.kernel.org/r/20211029060930.119923-2-colyli@suse.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/bcache/bcache.h
drivers/md/bcache/bcache_ondisk.h [moved from include/uapi/linux/bcache.h with 100% similarity]
drivers/md/bcache/bset.h
drivers/md/bcache/features.c
drivers/md/bcache/features.h