OSDN Git Service

mm: don't include <linux/blkdev.h> in <linux/backing-dev.h>
authorChristoph Hellwig <hch@lst.de>
Mon, 20 Sep 2021 12:33:14 +0000 (14:33 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Oct 2021 12:17:01 +0000 (06:17 -0600)
commitccdf774189b6466457ca9c7de1fe9ed18547d249
treea57ef7145a7cc6f92358b3a13451fe8a0edfa8fb
parente41d12f539f7c8bac9b0897031fee6cc9158a6be
mm: don't include <linux/blkdev.h> in <linux/backing-dev.h>

Move inode_to_bdi out of line to avoid having to include blkdev.h.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20210920123328.1399408-4-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/mtd/mtdsuper.c
fs/ntfs/file.c
fs/ntfs3/file.c
fs/orangefs/inode.c
include/linux/backing-dev.h
mm/backing-dev.c