]> git.baikalelectronics.ru Git - kernel.git/commitdiff
kernel: remove spurious blkdev.h includes
authorChristoph Hellwig <hch@lst.de>
Mon, 20 Sep 2021 12:33:17 +0000 (14:33 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Oct 2021 12:17:01 +0000 (06:17 -0600)
Various files have acquired spurious includes of <linux/blkdev.h> over
time.  Remove them.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20210920123328.1399408-7-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
kernel/acct.c
kernel/exit.c
kernel/fork.c

index 23a7ab8e6cbc8bdf68c0f46d8d09dfce07c5a6f5..3df53cf1dcd5ed08a72c68bd407b35b56513a75f 100644 (file)
@@ -60,7 +60,6 @@
 #include <linux/sched/cputime.h>
 
 #include <asm/div64.h>
-#include <linux/blkdev.h> /* sector_div */
 #include <linux/pid_namespace.h>
 #include <linux/fs_pin.h>
 
index 91a43e57a32ebbf155287f580094e3c0f66e1188..a53863dafb3d75ddc6146a73e9046cd0e104474c 100644 (file)
@@ -48,7 +48,6 @@
 #include <linux/pipe_fs_i.h>
 #include <linux/audit.h> /* for audit_free() */
 #include <linux/resource.h>
-#include <linux/blkdev.h>
 #include <linux/task_io_accounting_ops.h>
 #include <linux/tracehook.h>
 #include <linux/fs_struct.h>
index 38681ad44c76bc71ce3795ff052f7eb218769643..67679e3933f2fcee5a1b4e58d7d11c77e4f022b1 100644 (file)
@@ -76,7 +76,6 @@
 #include <linux/taskstats_kern.h>
 #include <linux/random.h>
 #include <linux/tty.h>
-#include <linux/blkdev.h>
 #include <linux/fs_struct.h>
 #include <linux/magic.h>
 #include <linux/perf_event.h>