]> www.infradead.org Git - users/hch/block.git/commitdiff
kernel: remove spurious blkdev.h includes
authorChristoph Hellwig <hch@lst.de>
Mon, 6 Sep 2021 09:42:17 +0000 (11:42 +0200)
committerChristoph Hellwig <hch@lst.de>
Sat, 18 Sep 2021 15:40:09 +0000 (17:40 +0200)
Various files have acquired spurious includes of <linux/blkdev.h> over
time.  Remove them.

Signed-off-by: Christoph Hellwig <hch@lst.de>
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>