History

kernel: remove spurious blkdev.h includes

Various files have acquired spurious includes of <linux/blkdev.h> over time. Remove them.

Christoph Hellwig committed 5 years ago

Commit 545c6641 parent dcbfa223 files · +0 −3Browse files

Showing the changes to kernel (3 of 3 files). Show all

Unified · Split

3 files
  1. kernel/acct.c +0 −1
  2. kernel/exit.c +0 −1
  3. kernel/fork.c +0 −1
kernel/acct.c+0−1
@@ -60,7 +60,6 @@ · 59 unmodified lines
6060 #include <linux/sched/cputime.h>
6161
6262 #include <asm/div64.h>
63−#include <linux/blkdev.h> /* sector_div */
6463 #include <linux/pid_namespace.h>
6564 #include <linux/fs_pin.h>
6665
kernel/exit.c+0−1
@@ -48,7 +48,6 @@ · 47 unmodified lines
4848 #include <linux/pipe_fs_i.h>
4949 #include <linux/audit.h> /* for audit_free() */
5050 #include <linux/resource.h>
51−#include <linux/blkdev.h>
5251 #include <linux/task_io_accounting_ops.h>
5352 #include <linux/tracehook.h>
5453 #include <linux/fs_struct.h>
kernel/fork.c+0−1
@@ -76,7 +76,6 @@ · 75 unmodified lines
7676 #include <linux/taskstats_kern.h>
7777 #include <linux/random.h>
7878 #include <linux/tty.h>
79−#include <linux/blkdev.h>
8079 #include <linux/fs_struct.h>
8180 #include <linux/magic.h>
8281 #include <linux/perf_event.h>