diff options
author | Christoph Hellwig <hch@lst.de> | 2021-08-09 16:17:43 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-08-09 19:53:23 +0200 |
commit | edb0872f44ec9976ea6d052cb4b93cd2d23ac2ba (patch) | |
tree | 077c52abab520da5223f99729c41dc0119f73b4b /fs/fat/fatent.c | |
parent | block: add a queue_has_disk helper (diff) | |
download | linux-edb0872f44ec9976ea6d052cb4b93cd2d23ac2ba.tar.xz linux-edb0872f44ec9976ea6d052cb4b93cd2d23ac2ba.zip |
block: move the bdi from the request_queue to the gendisk
The backing device information only makes sense for file system I/O,
and thus belongs into the gendisk and not the lower level request_queue
structure. Move it there.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20210809141744.1203023-5-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/fat/fatent.c')
-rw-r--r-- | fs/fat/fatent.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/fat/fatent.c b/fs/fat/fatent.c index 860e884e56e8..978ac6751aeb 100644 --- a/fs/fat/fatent.c +++ b/fs/fat/fatent.c @@ -5,6 +5,7 @@ #include <linux/blkdev.h> #include <linux/sched/signal.h> +#include <linux/backing-dev-defs.h> #include "fat.h" struct fatent_operations { |