diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-03-03 13:16:38 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-03-03 13:16:38 -0500 |
| commit | 1827adb11ad26b2290dc9fe2aaf54976b2439865 (patch) | |
| tree | e55db5fd2fa1241a586b5688ba3a88e4eae15d6f /fs | |
| parent | 78769912f680fc0a79a67e798a0ae76f07e63a7b (diff) | |
| parent | 5eca1c10cbaa9c366c18ca79f81f21c731e3dcc7 (diff) | |
Merge branch 'WIP.sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull sched.h split-up from Ingo Molnar:
"The point of these changes is to significantly reduce the
<linux/sched.h> header footprint, to speed up the kernel build and to
have a cleaner header structure.
After these changes the new <linux/sched.h>'s typical preprocessed
size goes down from a previous ~0.68 MB (~22K lines) to ~0.45 MB (~15K
lines), which is around 40% faster to build on typical configs.
Not much changed from the last version (-v2) posted three weeks ago: I
eliminated quirks, backmerged fixes plus I rebased it to an upstream
SHA1 from yesterday that includes most changes queued up in -next plus
all sched.h changes that were pending from Andrew.
I've re-tested the series both on x86 and on cross-arch defconfigs,
and did a bisectability test at a number of random points.
I tried to test as many build configurations as possible, but some
build breakage is probably still left - but it should be mostly
limited to architectures that have no cross-compiler binaries
available on kernel.org, and non-default configurations"
* 'WIP.sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (146 commits)
sched/headers: Clean up <linux/sched.h>
sched/headers: Remove #ifdefs from <linux/sched.h>
sched/headers: Remove the <linux/topology.h> include from <linux/sched.h>
sched/headers, hrtimer: Remove the <linux/wait.h> include from <linux/hrtimer.h>
sched/headers, x86/apic: Remove the <linux/pm.h> header inclusion from <asm/apic.h>
sched/headers, timers: Remove the <linux/sysctl.h> include from <linux/timer.h>
sched/headers: Remove <linux/magic.h> from <linux/sched/task_stack.h>
sched/headers: Remove <linux/sched.h> from <linux/sched/init.h>
sched/core: Remove unused prefetch_stack()
sched/headers: Remove <linux/rculist.h> from <linux/sched.h>
sched/headers: Remove the 'init_pid_ns' prototype from <linux/sched.h>
sched/headers: Remove <linux/signal.h> from <linux/sched.h>
sched/headers: Remove <linux/rwsem.h> from <linux/sched.h>
sched/headers: Remove the runqueue_is_locked() prototype
sched/headers: Remove <linux/sched.h> from <linux/sched/hotplug.h>
sched/headers: Remove <linux/sched.h> from <linux/sched/debug.h>
sched/headers: Remove <linux/sched.h> from <linux/sched/nohz.h>
sched/headers: Remove <linux/sched.h> from <linux/sched/stat.h>
sched/headers: Remove the <linux/gfp.h> include from <linux/sched.h>
sched/headers: Remove <linux/rtmutex.h> from <linux/sched.h>
...
Diffstat (limited to 'fs')
111 files changed, 153 insertions, 33 deletions
diff --git a/fs/9p/v9fs.c b/fs/9p/v9fs.c index 072e7599583a..a89f3cfe3c7d 100644 --- a/fs/9p/v9fs.c +++ b/fs/9p/v9fs.c | |||
| @@ -29,6 +29,7 @@ | |||
| 29 | #include <linux/errno.h> | 29 | #include <linux/errno.h> |
| 30 | #include <linux/fs.h> | 30 | #include <linux/fs.h> |
| 31 | #include <linux/sched.h> | 31 | #include <linux/sched.h> |
| 32 | #include <linux/cred.h> | ||
| 32 | #include <linux/parser.h> | 33 | #include <linux/parser.h> |
| 33 | #include <linux/idr.h> | 34 | #include <linux/idr.h> |
| 34 | #include <linux/slab.h> | 35 | #include <linux/slab.h> |
diff --git a/fs/affs/inode.c b/fs/affs/inode.c index a5e6097eb5a9..abcc59899229 100644 --- a/fs/affs/inode.c +++ b/fs/affs/inode.c | |||
| @@ -10,6 +10,7 @@ | |||
| 10 | * (C) 1991 Linus Torvalds - minix filesystem | 10 | * (C) 1991 Linus Torvalds - minix filesystem |
| 11 | */ | 11 | */ |
| 12 | #include <linux/sched.h> | 12 | #include <linux/sched.h> |
| 13 | #include <linux/cred.h> | ||
| 13 | #include <linux/gfp.h> | 14 | #include <linux/gfp.h> |
| 14 | #include "affs.h" | 15 | #include "affs.h" |
| 15 | 16 | ||
diff --git a/fs/affs/super.c b/fs/affs/super.c index 37532538e8ab..c2c27a8f128e 100644 --- a/fs/affs/super.c +++ b/fs/affs/super.c | |||
| @@ -16,6 +16,7 @@ | |||
| 16 | #include <linux/parser.h> | 16 | #include <linux/parser.h> |
| 17 | #include <linux/magic.h> | 17 | #include <linux/magic.h> |
| 18 | #include <linux/sched.h> | 18 | #include <linux/sched.h> |
| 19 | #include <linux/cred.h> | ||
| 19 | #include <linux/slab.h> | 20 | #include <linux/slab.h> |
| 20 | #include <linux/writeback.h> | 21 | #include <linux/writeback.h> |
| 21 | #include <linux/blkdev.h> | 22 | #include <linux/blkdev.h> |
diff --git a/fs/afs/rxrpc.c b/fs/afs/rxrpc.c index f3c1b40eb11f..419ef05dcb5e 100644 --- a/fs/afs/rxrpc.c +++ b/fs/afs/rxrpc.c | |||
| @@ -10,6 +10,8 @@ | |||
| 10 | */ | 10 | */ |
| 11 | 11 | ||
| 12 | #include <linux/slab.h> | 12 | #include <linux/slab.h> |
| 13 | #include <linux/sched/signal.h> | ||
| 14 | |||
| 13 | #include <net/sock.h> | 15 | #include <net/sock.h> |
| 14 | #include <net/af_rxrpc.h> | 16 | #include <net/af_rxrpc.h> |
| 15 | #include <rxrpc/packet.h> | 17 | #include <rxrpc/packet.h> |
| @@ -20,7 +20,7 @@ | |||
| 20 | #include <linux/backing-dev.h> | 20 | #include <linux/backing-dev.h> |
| 21 | #include <linux/uio.h> | 21 | #include <linux/uio.h> |
| 22 | 22 | ||
| 23 | #include <linux/sched.h> | 23 | #include <linux/sched/signal.h> |
| 24 | #include <linux/fs.h> | 24 | #include <linux/fs.h> |
| 25 | #include <linux/file.h> | 25 | #include <linux/file.h> |
| 26 | #include <linux/mm.h> | 26 | #include <linux/mm.h> |
| @@ -9,6 +9,7 @@ | |||
| 9 | #include <linux/time.h> | 9 | #include <linux/time.h> |
| 10 | #include <linux/mm.h> | 10 | #include <linux/mm.h> |
| 11 | #include <linux/string.h> | 11 | #include <linux/string.h> |
| 12 | #include <linux/sched/signal.h> | ||
| 12 | #include <linux/capability.h> | 13 | #include <linux/capability.h> |
| 13 | #include <linux/fsnotify.h> | 14 | #include <linux/fsnotify.h> |
| 14 | #include <linux/fcntl.h> | 15 | #include <linux/fcntl.h> |
diff --git a/fs/autofs4/autofs_i.h b/fs/autofs4/autofs_i.h index c885daae68c8..beef981aa54f 100644 --- a/fs/autofs4/autofs_i.h +++ b/fs/autofs4/autofs_i.h | |||
| @@ -14,6 +14,7 @@ | |||
| 14 | #include <linux/mutex.h> | 14 | #include <linux/mutex.h> |
| 15 | #include <linux/spinlock.h> | 15 | #include <linux/spinlock.h> |
| 16 | #include <linux/list.h> | 16 | #include <linux/list.h> |
| 17 | #include <linux/completion.h> | ||
| 17 | 18 | ||
| 18 | /* This is the range of ioctl() numbers we claim as ours */ | 19 | /* This is the range of ioctl() numbers we claim as ours */ |
| 19 | #define AUTOFS_IOC_FIRST AUTOFS_IOC_READY | 20 | #define AUTOFS_IOC_FIRST AUTOFS_IOC_READY |
diff --git a/fs/autofs4/dev-ioctl.c b/fs/autofs4/dev-ioctl.c index 806df746f1a9..734cbf8d9676 100644 --- a/fs/autofs4/dev-ioctl.c +++ b/fs/autofs4/dev-ioctl.c | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | #include <linux/file.h> | 17 | #include <linux/file.h> |
| 18 | #include <linux/fdtable.h> | 18 | #include <linux/fdtable.h> |
| 19 | #include <linux/sched.h> | 19 | #include <linux/sched.h> |
| 20 | #include <linux/cred.h> | ||
| 20 | #include <linux/compat.h> | 21 | #include <linux/compat.h> |
| 21 | #include <linux/syscalls.h> | 22 | #include <linux/syscalls.h> |
| 22 | #include <linux/magic.h> | 23 | #include <linux/magic.h> |
diff --git a/fs/autofs4/waitq.c b/fs/autofs4/waitq.c index 79fbd85db4ba..24a58bf9ca72 100644 --- a/fs/autofs4/waitq.c +++ b/fs/autofs4/waitq.c | |||
| @@ -10,6 +10,7 @@ | |||
| 10 | #include <linux/slab.h> | 10 | #include <linux/slab.h> |
| 11 | #include <linux/time.h> | 11 | #include <linux/time.h> |
| 12 | #include <linux/signal.h> | 12 | #include <linux/signal.h> |
| 13 | #include <linux/sched/signal.h> | ||
| 13 | #include <linux/file.h> | 14 | #include <linux/file.h> |
| 14 | #include "autofs_i.h" | 15 | #include "autofs_i.h" |
| 15 | 16 | ||
diff --git a/fs/befs/linuxvfs.c b/fs/befs/linuxvfs.c index 19407165f4aa..c500e954debb 100644 --- a/fs/befs/linuxvfs.c +++ b/fs/befs/linuxvfs.c | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | #include <linux/parser.h> | 18 | #include <linux/parser.h> |
| 19 | #include <linux/namei.h> | 19 | #include <linux/namei.h> |
| 20 | #include <linux/sched.h> | 20 | #include <linux/sched.h> |
| 21 | #include <linux/cred.h> | ||
| 21 | #include <linux/exportfs.h> | 22 | #include <linux/exportfs.h> |
| 22 | 23 | ||
| 23 | #include "befs.h" | 24 | #include "befs.h" |
diff --git a/fs/binfmt_aout.c b/fs/binfmt_aout.c index 2a59139f520b..9be82c4e14a4 100644 --- a/fs/binfmt_aout.c +++ b/fs/binfmt_aout.c | |||
| @@ -25,6 +25,7 @@ | |||
| 25 | #include <linux/init.h> | 25 | #include <linux/init.h> |
| 26 | #include <linux/coredump.h> | 26 | #include <linux/coredump.h> |
| 27 | #include <linux/slab.h> | 27 | #include <linux/slab.h> |
| 28 | #include <linux/sched/task_stack.h> | ||
| 28 | 29 | ||
| 29 | #include <linux/uaccess.h> | 30 | #include <linux/uaccess.h> |
| 30 | #include <asm/cacheflush.h> | 31 | #include <asm/cacheflush.h> |
diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c index 443a6f537d56..5075fd5c62c8 100644 --- a/fs/binfmt_elf.c +++ b/fs/binfmt_elf.c | |||
| @@ -35,6 +35,10 @@ | |||
| 35 | #include <linux/utsname.h> | 35 | #include <linux/utsname.h> |
| 36 | #include <linux/coredump.h> | 36 | #include <linux/coredump.h> |
| 37 | #include <linux/sched.h> | 37 | #include <linux/sched.h> |
| 38 | #include <linux/sched/coredump.h> | ||
| 39 | #include <linux/sched/task_stack.h> | ||
| 40 | #include <linux/sched/cputime.h> | ||
| 41 | #include <linux/cred.h> | ||
| 38 | #include <linux/dax.h> | 42 | #include <linux/dax.h> |
| 39 | #include <linux/uaccess.h> | 43 | #include <linux/uaccess.h> |
| 40 | #include <asm/param.h> | 44 | #include <asm/param.h> |
diff --git a/fs/binfmt_elf_fdpic.c b/fs/binfmt_elf_fdpic.c index ffca4bbc3d63..cf93a4fad012 100644 --- a/fs/binfmt_elf_fdpic.c +++ b/fs/binfmt_elf_fdpic.c | |||
| @@ -15,6 +15,9 @@ | |||
| 15 | #include <linux/fs.h> | 15 | #include <linux/fs.h> |
| 16 | #include <linux/stat.h> | 16 | #include <linux/stat.h> |
| 17 | #include <linux/sched.h> | 17 | #include <linux/sched.h> |
| 18 | #include <linux/sched/coredump.h> | ||
| 19 | #include <linux/sched/task_stack.h> | ||
| 20 | #include <linux/sched/cputime.h> | ||
| 18 | #include <linux/mm.h> | 21 | #include <linux/mm.h> |
| 19 | #include <linux/mman.h> | 22 | #include <linux/mman.h> |
| 20 | #include <linux/errno.h> | 23 | #include <linux/errno.h> |
diff --git a/fs/binfmt_flat.c b/fs/binfmt_flat.c index 9b2917a30294..2edcefc0a294 100644 --- a/fs/binfmt_flat.c +++ b/fs/binfmt_flat.c | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | 19 | ||
| 20 | #include <linux/kernel.h> | 20 | #include <linux/kernel.h> |
| 21 | #include <linux/sched.h> | 21 | #include <linux/sched.h> |
| 22 | #include <linux/sched/task_stack.h> | ||
| 22 | #include <linux/mm.h> | 23 | #include <linux/mm.h> |
| 23 | #include <linux/mman.h> | 24 | #include <linux/mman.h> |
| 24 | #include <linux/errno.h> | 25 | #include <linux/errno.h> |
diff --git a/fs/binfmt_misc.c b/fs/binfmt_misc.c index 9b4688ab1d8e..bee1a36bc2ec 100644 --- a/fs/binfmt_misc.c +++ b/fs/binfmt_misc.c | |||
| @@ -12,7 +12,7 @@ | |||
| 12 | #include <linux/kernel.h> | 12 | #include <linux/kernel.h> |
| 13 | #include <linux/module.h> | 13 | #include <linux/module.h> |
| 14 | #include <linux/init.h> | 14 | #include <linux/init.h> |
| 15 | #include <linux/sched.h> | 15 | #include <linux/sched/mm.h> |
| 16 | #include <linux/magic.h> | 16 | #include <linux/magic.h> |
| 17 | #include <linux/binfmts.h> | 17 | #include <linux/binfmts.h> |
| 18 | #include <linux/slab.h> | 18 | #include <linux/slab.h> |
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index 00e3518a26ef..29b7fc28c607 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h | |||
| @@ -20,6 +20,7 @@ | |||
| 20 | #define __BTRFS_CTREE__ | 20 | #define __BTRFS_CTREE__ |
| 21 | 21 | ||
| 22 | #include <linux/mm.h> | 22 | #include <linux/mm.h> |
| 23 | #include <linux/sched/signal.h> | ||
| 23 | #include <linux/highmem.h> | 24 | #include <linux/highmem.h> |
| 24 | #include <linux/fs.h> | 25 | #include <linux/fs.h> |
| 25 | #include <linux/rwsem.h> | 26 | #include <linux/rwsem.h> |
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index 60794658ffd8..be5477676cc8 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c | |||
| @@ -16,6 +16,7 @@ | |||
| 16 | * Boston, MA 021110-1307, USA. | 16 | * Boston, MA 021110-1307, USA. |
| 17 | */ | 17 | */ |
| 18 | #include <linux/sched.h> | 18 | #include <linux/sched.h> |
| 19 | #include <linux/sched/signal.h> | ||
| 19 | #include <linux/pagemap.h> | 20 | #include <linux/pagemap.h> |
| 20 | #include <linux/writeback.h> | 21 | #include <linux/writeback.h> |
| 21 | #include <linux/blkdev.h> | 22 | #include <linux/blkdev.h> |
diff --git a/fs/btrfs/free-space-cache.c b/fs/btrfs/free-space-cache.c index 7dcf0b100dcd..da6841efac26 100644 --- a/fs/btrfs/free-space-cache.c +++ b/fs/btrfs/free-space-cache.c | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | 18 | ||
| 19 | #include <linux/pagemap.h> | 19 | #include <linux/pagemap.h> |
| 20 | #include <linux/sched.h> | 20 | #include <linux/sched.h> |
| 21 | #include <linux/sched/signal.h> | ||
| 21 | #include <linux/slab.h> | 22 | #include <linux/slab.h> |
| 22 | #include <linux/math64.h> | 23 | #include <linux/math64.h> |
| 23 | #include <linux/ratelimit.h> | 24 | #include <linux/ratelimit.h> |
diff --git a/fs/buffer.c b/fs/buffer.c index 28484b3ebc98..9196f2a270da 100644 --- a/fs/buffer.c +++ b/fs/buffer.c | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | */ | 19 | */ |
| 20 | 20 | ||
| 21 | #include <linux/kernel.h> | 21 | #include <linux/kernel.h> |
| 22 | #include <linux/sched/signal.h> | ||
| 22 | #include <linux/syscalls.h> | 23 | #include <linux/syscalls.h> |
| 23 | #include <linux/fs.h> | 24 | #include <linux/fs.h> |
| 24 | #include <linux/iomap.h> | 25 | #include <linux/iomap.h> |
diff --git a/fs/cachefiles/internal.h b/fs/cachefiles/internal.h index cd1effee8a49..9bf90bcc56ac 100644 --- a/fs/cachefiles/internal.h +++ b/fs/cachefiles/internal.h | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | #include <linux/fscache-cache.h> | 19 | #include <linux/fscache-cache.h> |
| 20 | #include <linux/timer.h> | 20 | #include <linux/timer.h> |
| 21 | #include <linux/wait.h> | 21 | #include <linux/wait.h> |
| 22 | #include <linux/cred.h> | ||
| 22 | #include <linux/workqueue.h> | 23 | #include <linux/workqueue.h> |
| 23 | #include <linux/security.h> | 24 | #include <linux/security.h> |
| 24 | 25 | ||
diff --git a/fs/ceph/addr.c b/fs/ceph/addr.c index f297a9e18642..1a3e1b40799a 100644 --- a/fs/ceph/addr.c +++ b/fs/ceph/addr.c | |||
| @@ -8,6 +8,7 @@ | |||
| 8 | #include <linux/slab.h> | 8 | #include <linux/slab.h> |
| 9 | #include <linux/pagevec.h> | 9 | #include <linux/pagevec.h> |
| 10 | #include <linux/task_io_accounting_ops.h> | 10 | #include <linux/task_io_accounting_ops.h> |
| 11 | #include <linux/signal.h> | ||
| 11 | 12 | ||
| 12 | #include "super.h" | 13 | #include "super.h" |
| 13 | #include "mds_client.h" | 14 | #include "mds_client.h" |
diff --git a/fs/ceph/caps.c b/fs/ceph/caps.c index cd966f276a8d..68c78be19d5b 100644 --- a/fs/ceph/caps.c +++ b/fs/ceph/caps.c | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | #include <linux/fs.h> | 3 | #include <linux/fs.h> |
| 4 | #include <linux/kernel.h> | 4 | #include <linux/kernel.h> |
| 5 | #include <linux/sched.h> | 5 | #include <linux/sched/signal.h> |
| 6 | #include <linux/slab.h> | 6 | #include <linux/slab.h> |
| 7 | #include <linux/vmalloc.h> | 7 | #include <linux/vmalloc.h> |
| 8 | #include <linux/wait.h> | 8 | #include <linux/wait.h> |
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index 8a3ecef30d3c..3aa457f83214 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c | |||
| @@ -21,6 +21,7 @@ | |||
| 21 | #include <linux/fs.h> | 21 | #include <linux/fs.h> |
| 22 | #include <linux/net.h> | 22 | #include <linux/net.h> |
| 23 | #include <linux/string.h> | 23 | #include <linux/string.h> |
| 24 | #include <linux/sched/signal.h> | ||
| 24 | #include <linux/list.h> | 25 | #include <linux/list.h> |
| 25 | #include <linux/wait.h> | 26 | #include <linux/wait.h> |
| 26 | #include <linux/slab.h> | 27 | #include <linux/slab.h> |
diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c index 7ab5be7944aa..1858fc20eb7d 100644 --- a/fs/cifs/inode.c +++ b/fs/cifs/inode.c | |||
| @@ -23,6 +23,8 @@ | |||
| 23 | #include <linux/slab.h> | 23 | #include <linux/slab.h> |
| 24 | #include <linux/pagemap.h> | 24 | #include <linux/pagemap.h> |
| 25 | #include <linux/freezer.h> | 25 | #include <linux/freezer.h> |
| 26 | #include <linux/sched/signal.h> | ||
| 27 | |||
| 26 | #include <asm/div64.h> | 28 | #include <asm/div64.h> |
| 27 | #include "cifsfs.h" | 29 | #include "cifsfs.h" |
| 28 | #include "cifspdu.h" | 30 | #include "cifspdu.h" |
diff --git a/fs/coda/psdev.c b/fs/coda/psdev.c index 822629126e89..f40e3953e7fe 100644 --- a/fs/coda/psdev.c +++ b/fs/coda/psdev.c | |||
| @@ -22,7 +22,7 @@ | |||
| 22 | #include <linux/kernel.h> | 22 | #include <linux/kernel.h> |
| 23 | #include <linux/major.h> | 23 | #include <linux/major.h> |
| 24 | #include <linux/time.h> | 24 | #include <linux/time.h> |
| 25 | #include <linux/sched.h> | 25 | #include <linux/sched/signal.h> |
| 26 | #include <linux/slab.h> | 26 | #include <linux/slab.h> |
| 27 | #include <linux/ioport.h> | 27 | #include <linux/ioport.h> |
| 28 | #include <linux/fcntl.h> | 28 | #include <linux/fcntl.h> |
diff --git a/fs/coda/upcall.c b/fs/coda/upcall.c index f6c6c8adbc01..e82357c89979 100644 --- a/fs/coda/upcall.c +++ b/fs/coda/upcall.c | |||
| @@ -15,7 +15,7 @@ | |||
| 15 | */ | 15 | */ |
| 16 | 16 | ||
| 17 | #include <linux/signal.h> | 17 | #include <linux/signal.h> |
| 18 | #include <linux/sched.h> | 18 | #include <linux/sched/signal.h> |
| 19 | #include <linux/types.h> | 19 | #include <linux/types.h> |
| 20 | #include <linux/kernel.h> | 20 | #include <linux/kernel.h> |
| 21 | #include <linux/mm.h> | 21 | #include <linux/mm.h> |
diff --git a/fs/compat.c b/fs/compat.c index e50a2114f474..c61b506f5bc9 100644 --- a/fs/compat.c +++ b/fs/compat.c | |||
| @@ -21,6 +21,7 @@ | |||
| 21 | #include <linux/compat.h> | 21 | #include <linux/compat.h> |
| 22 | #include <linux/errno.h> | 22 | #include <linux/errno.h> |
| 23 | #include <linux/time.h> | 23 | #include <linux/time.h> |
| 24 | #include <linux/cred.h> | ||
| 24 | #include <linux/fs.h> | 25 | #include <linux/fs.h> |
| 25 | #include <linux/fcntl.h> | 26 | #include <linux/fcntl.h> |
| 26 | #include <linux/namei.h> | 27 | #include <linux/namei.h> |
diff --git a/fs/coredump.c b/fs/coredump.c index ae6b05629ca1..592683711c64 100644 --- a/fs/coredump.c +++ b/fs/coredump.c | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | #include <linux/personality.h> | 16 | #include <linux/personality.h> |
| 17 | #include <linux/binfmts.h> | 17 | #include <linux/binfmts.h> |
| 18 | #include <linux/coredump.h> | 18 | #include <linux/coredump.h> |
| 19 | #include <linux/sched/coredump.h> | ||
| 20 | #include <linux/sched/signal.h> | ||
| 21 | #include <linux/sched/task_stack.h> | ||
| 19 | #include <linux/utsname.h> | 22 | #include <linux/utsname.h> |
| 20 | #include <linux/pid_namespace.h> | 23 | #include <linux/pid_namespace.h> |
| 21 | #include <linux/module.h> | 24 | #include <linux/module.h> |
| @@ -33,7 +36,6 @@ | |||
| 33 | #include <linux/pipe_fs_i.h> | 36 | #include <linux/pipe_fs_i.h> |
| 34 | #include <linux/oom.h> | 37 | #include <linux/oom.h> |
| 35 | #include <linux/compat.h> | 38 | #include <linux/compat.h> |
| 36 | #include <linux/sched.h> | ||
| 37 | #include <linux/fs.h> | 39 | #include <linux/fs.h> |
| 38 | #include <linux/path.h> | 40 | #include <linux/path.h> |
| 39 | #include <linux/timekeeping.h> | 41 | #include <linux/timekeeping.h> |
| @@ -27,6 +27,7 @@ | |||
| 27 | #include <linux/pagevec.h> | 27 | #include <linux/pagevec.h> |
| 28 | #include <linux/pmem.h> | 28 | #include <linux/pmem.h> |
| 29 | #include <linux/sched.h> | 29 | #include <linux/sched.h> |
| 30 | #include <linux/sched/signal.h> | ||
| 30 | #include <linux/uio.h> | 31 | #include <linux/uio.h> |
| 31 | #include <linux/vmstat.h> | 32 | #include <linux/vmstat.h> |
| 32 | #include <linux/pfn_t.h> | 33 | #include <linux/pfn_t.h> |
diff --git a/fs/dlm/user.c b/fs/dlm/user.c index 1ce908c2232c..23488f559cf9 100644 --- a/fs/dlm/user.c +++ b/fs/dlm/user.c | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | #include <linux/dlm.h> | 17 | #include <linux/dlm.h> |
| 18 | #include <linux/dlm_device.h> | 18 | #include <linux/dlm_device.h> |
| 19 | #include <linux/slab.h> | 19 | #include <linux/slab.h> |
| 20 | #include <linux/sched/signal.h> | ||
| 20 | 21 | ||
| 21 | #include "dlm_internal.h" | 22 | #include "dlm_internal.h" |
| 22 | #include "lockspace.h" | 23 | #include "lockspace.h" |
diff --git a/fs/ecryptfs/read_write.c b/fs/ecryptfs/read_write.c index 158a3a39f82d..039e627194a9 100644 --- a/fs/ecryptfs/read_write.c +++ b/fs/ecryptfs/read_write.c | |||
| @@ -22,6 +22,8 @@ | |||
| 22 | 22 | ||
| 23 | #include <linux/fs.h> | 23 | #include <linux/fs.h> |
| 24 | #include <linux/pagemap.h> | 24 | #include <linux/pagemap.h> |
| 25 | #include <linux/sched/signal.h> | ||
| 26 | |||
| 25 | #include "ecryptfs_kernel.h" | 27 | #include "ecryptfs_kernel.h" |
| 26 | 28 | ||
| 27 | /** | 29 | /** |
diff --git a/fs/eventfd.c b/fs/eventfd.c index 1231cd1999d8..68b9fffcb2c8 100644 --- a/fs/eventfd.c +++ b/fs/eventfd.c | |||
| @@ -9,7 +9,7 @@ | |||
| 9 | #include <linux/poll.h> | 9 | #include <linux/poll.h> |
| 10 | #include <linux/init.h> | 10 | #include <linux/init.h> |
| 11 | #include <linux/fs.h> | 11 | #include <linux/fs.h> |
| 12 | #include <linux/sched.h> | 12 | #include <linux/sched/signal.h> |
| 13 | #include <linux/kernel.h> | 13 | #include <linux/kernel.h> |
| 14 | #include <linux/slab.h> | 14 | #include <linux/slab.h> |
| 15 | #include <linux/list.h> | 15 | #include <linux/list.h> |
diff --git a/fs/eventpoll.c b/fs/eventpoll.c index 5ec16313da1a..341251421ced 100644 --- a/fs/eventpoll.c +++ b/fs/eventpoll.c | |||
| @@ -13,7 +13,7 @@ | |||
| 13 | 13 | ||
| 14 | #include <linux/init.h> | 14 | #include <linux/init.h> |
| 15 | #include <linux/kernel.h> | 15 | #include <linux/kernel.h> |
| 16 | #include <linux/sched.h> | 16 | #include <linux/sched/signal.h> |
| 17 | #include <linux/fs.h> | 17 | #include <linux/fs.h> |
| 18 | #include <linux/file.h> | 18 | #include <linux/file.h> |
| 19 | #include <linux/signal.h> | 19 | #include <linux/signal.h> |
| @@ -32,6 +32,11 @@ | |||
| 32 | #include <linux/swap.h> | 32 | #include <linux/swap.h> |
| 33 | #include <linux/string.h> | 33 | #include <linux/string.h> |
| 34 | #include <linux/init.h> | 34 | #include <linux/init.h> |
| 35 | #include <linux/sched/mm.h> | ||
| 36 | #include <linux/sched/coredump.h> | ||
| 37 | #include <linux/sched/signal.h> | ||
| 38 | #include <linux/sched/numa_balancing.h> | ||
| 39 | #include <linux/sched/task.h> | ||
| 35 | #include <linux/pagemap.h> | 40 | #include <linux/pagemap.h> |
| 36 | #include <linux/perf_event.h> | 41 | #include <linux/perf_event.h> |
| 37 | #include <linux/highmem.h> | 42 | #include <linux/highmem.h> |
| @@ -1088,7 +1093,7 @@ static int de_thread(struct task_struct *tsk) | |||
| 1088 | struct task_struct *leader = tsk->group_leader; | 1093 | struct task_struct *leader = tsk->group_leader; |
| 1089 | 1094 | ||
| 1090 | for (;;) { | 1095 | for (;;) { |
| 1091 | threadgroup_change_begin(tsk); | 1096 | cgroup_threadgroup_change_begin(tsk); |
| 1092 | write_lock_irq(&tasklist_lock); | 1097 | write_lock_irq(&tasklist_lock); |
| 1093 | /* | 1098 | /* |
| 1094 | * Do this under tasklist_lock to ensure that | 1099 | * Do this under tasklist_lock to ensure that |
| @@ -1099,7 +1104,7 @@ static int de_thread(struct task_struct *tsk) | |||
| 1099 | break; | 1104 | break; |
| 1100 | __set_current_state(TASK_KILLABLE); | 1105 | __set_current_state(TASK_KILLABLE); |
| 1101 | write_unlock_irq(&tasklist_lock); | 1106 | write_unlock_irq(&tasklist_lock); |
| 1102 | threadgroup_change_end(tsk); | 1107 | cgroup_threadgroup_change_end(tsk); |
| 1103 | schedule(); | 1108 | schedule(); |
| 1104 | if (unlikely(__fatal_signal_pending(tsk))) | 1109 | if (unlikely(__fatal_signal_pending(tsk))) |
| 1105 | goto killed; | 1110 | goto killed; |
| @@ -1157,7 +1162,7 @@ static int de_thread(struct task_struct *tsk) | |||
| 1157 | if (unlikely(leader->ptrace)) | 1162 | if (unlikely(leader->ptrace)) |
| 1158 | __wake_up_parent(leader, leader->parent); | 1163 | __wake_up_parent(leader, leader->parent); |
| 1159 | write_unlock_irq(&tasklist_lock); | 1164 | write_unlock_irq(&tasklist_lock); |
| 1160 | threadgroup_change_end(tsk); | 1165 | cgroup_threadgroup_change_end(tsk); |
| 1161 | 1166 | ||
| 1162 | release_task(leader); | 1167 | release_task(leader); |
| 1163 | } | 1168 | } |
diff --git a/fs/exportfs/expfs.c b/fs/exportfs/expfs.c index a4b531be9168..9ec1038f937e 100644 --- a/fs/exportfs/expfs.c +++ b/fs/exportfs/expfs.c | |||
| @@ -15,6 +15,7 @@ | |||
| 15 | #include <linux/mount.h> | 15 | #include <linux/mount.h> |
| 16 | #include <linux/namei.h> | 16 | #include <linux/namei.h> |
| 17 | #include <linux/sched.h> | 17 | #include <linux/sched.h> |
| 18 | #include <linux/cred.h> | ||
| 18 | 19 | ||
| 19 | #define dprintk(fmt, args...) do{}while(0) | 20 | #define dprintk(fmt, args...) do{}while(0) |
| 20 | 21 | ||
diff --git a/fs/ext2/balloc.c b/fs/ext2/balloc.c index 4c40c0786e16..d0bdb74f0e15 100644 --- a/fs/ext2/balloc.c +++ b/fs/ext2/balloc.c | |||
| @@ -15,6 +15,7 @@ | |||
| 15 | #include <linux/quotaops.h> | 15 | #include <linux/quotaops.h> |
| 16 | #include <linux/slab.h> | 16 | #include <linux/slab.h> |
| 17 | #include <linux/sched.h> | 17 | #include <linux/sched.h> |
| 18 | #include <linux/cred.h> | ||
| 18 | #include <linux/buffer_head.h> | 19 | #include <linux/buffer_head.h> |
| 19 | #include <linux/capability.h> | 20 | #include <linux/capability.h> |
| 20 | 21 | ||
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h index 2fd17e8e4984..77798a46b0c6 100644 --- a/fs/ext4/ext4.h +++ b/fs/ext4/ext4.h | |||
| @@ -28,6 +28,7 @@ | |||
| 28 | #include <linux/timer.h> | 28 | #include <linux/timer.h> |
| 29 | #include <linux/version.h> | 29 | #include <linux/version.h> |
| 30 | #include <linux/wait.h> | 30 | #include <linux/wait.h> |
| 31 | #include <linux/sched/signal.h> | ||
| 31 | #include <linux/blockgroup_lock.h> | 32 | #include <linux/blockgroup_lock.h> |
| 32 | #include <linux/percpu_counter.h> | 33 | #include <linux/percpu_counter.h> |
| 33 | #include <linux/ratelimit.h> | 34 | #include <linux/ratelimit.h> |
diff --git a/fs/ext4/ialloc.c b/fs/ext4/ialloc.c index b14bae2598bc..17bc043308f3 100644 --- a/fs/ext4/ialloc.c +++ b/fs/ext4/ialloc.c | |||
| @@ -21,6 +21,8 @@ | |||
| 21 | #include <linux/random.h> | 21 | #include <linux/random.h> |
| 22 | #include <linux/bitops.h> | 22 | #include <linux/bitops.h> |
| 23 | #include <linux/blkdev.h> | 23 | #include <linux/blkdev.h> |
| 24 | #include <linux/cred.h> | ||
| 25 | |||
| 24 | #include <asm/byteorder.h> | 26 | #include <asm/byteorder.h> |
| 25 | 27 | ||
| 26 | #include "ext4.h" | 28 | #include "ext4.h" |
diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index 1375fef11146..1602b4bccae6 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c | |||
| @@ -22,6 +22,7 @@ | |||
| 22 | #include <linux/mm.h> | 22 | #include <linux/mm.h> |
| 23 | #include <linux/memcontrol.h> | 23 | #include <linux/memcontrol.h> |
| 24 | #include <linux/cleancache.h> | 24 | #include <linux/cleancache.h> |
| 25 | #include <linux/sched/signal.h> | ||
| 25 | 26 | ||
| 26 | #include "f2fs.h" | 27 | #include "f2fs.h" |
| 27 | #include "node.h" | 28 | #include "node.h" |
diff --git a/fs/fcntl.c b/fs/fcntl.c index e1c54f20325c..be8fbe289087 100644 --- a/fs/fcntl.c +++ b/fs/fcntl.c | |||
| @@ -7,6 +7,7 @@ | |||
| 7 | #include <linux/syscalls.h> | 7 | #include <linux/syscalls.h> |
| 8 | #include <linux/init.h> | 8 | #include <linux/init.h> |
| 9 | #include <linux/mm.h> | 9 | #include <linux/mm.h> |
| 10 | #include <linux/sched/task.h> | ||
| 10 | #include <linux/fs.h> | 11 | #include <linux/fs.h> |
| 11 | #include <linux/file.h> | 12 | #include <linux/file.h> |
| 12 | #include <linux/fdtable.h> | 13 | #include <linux/fdtable.h> |
| @@ -12,7 +12,7 @@ | |||
| 12 | #include <linux/mm.h> | 12 | #include <linux/mm.h> |
| 13 | #include <linux/mmzone.h> | 13 | #include <linux/mmzone.h> |
| 14 | #include <linux/time.h> | 14 | #include <linux/time.h> |
| 15 | #include <linux/sched.h> | 15 | #include <linux/sched/signal.h> |
| 16 | #include <linux/slab.h> | 16 | #include <linux/slab.h> |
| 17 | #include <linux/vmalloc.h> | 17 | #include <linux/vmalloc.h> |
| 18 | #include <linux/file.h> | 18 | #include <linux/file.h> |
diff --git a/fs/file_table.c b/fs/file_table.c index 6d982b57de92..954d510b765a 100644 --- a/fs/file_table.c +++ b/fs/file_table.c | |||
| @@ -13,6 +13,7 @@ | |||
| 13 | #include <linux/module.h> | 13 | #include <linux/module.h> |
| 14 | #include <linux/fs.h> | 14 | #include <linux/fs.h> |
| 15 | #include <linux/security.h> | 15 | #include <linux/security.h> |
| 16 | #include <linux/cred.h> | ||
| 16 | #include <linux/eventpoll.h> | 17 | #include <linux/eventpoll.h> |
| 17 | #include <linux/rcupdate.h> | 18 | #include <linux/rcupdate.h> |
| 18 | #include <linux/mount.h> | 19 | #include <linux/mount.h> |
diff --git a/fs/fs_struct.c b/fs/fs_struct.c index 7dca743b2ce1..be0250788b73 100644 --- a/fs/fs_struct.c +++ b/fs/fs_struct.c | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | #include <linux/export.h> | 1 | #include <linux/export.h> |
| 2 | #include <linux/sched.h> | 2 | #include <linux/sched/signal.h> |
| 3 | #include <linux/sched/task.h> | ||
| 3 | #include <linux/fs.h> | 4 | #include <linux/fs.h> |
| 4 | #include <linux/path.h> | 5 | #include <linux/path.h> |
| 5 | #include <linux/slab.h> | 6 | #include <linux/slab.h> |
diff --git a/fs/fuse/dev.c b/fs/fuse/dev.c index f11792672977..b681b43c766e 100644 --- a/fs/fuse/dev.c +++ b/fs/fuse/dev.c | |||
| @@ -11,6 +11,7 @@ | |||
| 11 | #include <linux/init.h> | 11 | #include <linux/init.h> |
| 12 | #include <linux/module.h> | 12 | #include <linux/module.h> |
| 13 | #include <linux/poll.h> | 13 | #include <linux/poll.h> |
| 14 | #include <linux/sched/signal.h> | ||
| 14 | #include <linux/uio.h> | 15 | #include <linux/uio.h> |
| 15 | #include <linux/miscdevice.h> | 16 | #include <linux/miscdevice.h> |
| 16 | #include <linux/pagemap.h> | 17 | #include <linux/pagemap.h> |
diff --git a/fs/gfs2/inode.c b/fs/gfs2/inode.c index eb7724b8578a..9d28f55fbd1d 100644 --- a/fs/gfs2/inode.c +++ b/fs/gfs2/inode.c | |||
| @@ -13,6 +13,7 @@ | |||
| 13 | #include <linux/buffer_head.h> | 13 | #include <linux/buffer_head.h> |
| 14 | #include <linux/namei.h> | 14 | #include <linux/namei.h> |
| 15 | #include <linux/mm.h> | 15 | #include <linux/mm.h> |
| 16 | #include <linux/cred.h> | ||
| 16 | #include <linux/xattr.h> | 17 | #include <linux/xattr.h> |
| 17 | #include <linux/posix_acl.h> | 18 | #include <linux/posix_acl.h> |
| 18 | #include <linux/gfs2_ondisk.h> | 19 | #include <linux/gfs2_ondisk.h> |
diff --git a/fs/gfs2/lock_dlm.c b/fs/gfs2/lock_dlm.c index 8b907c5cc913..0515f0a68637 100644 --- a/fs/gfs2/lock_dlm.c +++ b/fs/gfs2/lock_dlm.c | |||
| @@ -15,6 +15,7 @@ | |||
| 15 | #include <linux/types.h> | 15 | #include <linux/types.h> |
| 16 | #include <linux/delay.h> | 16 | #include <linux/delay.h> |
| 17 | #include <linux/gfs2_ondisk.h> | 17 | #include <linux/gfs2_ondisk.h> |
| 18 | #include <linux/sched/signal.h> | ||
| 18 | 19 | ||
| 19 | #include "incore.h" | 20 | #include "incore.h" |
| 20 | #include "glock.h" | 21 | #include "glock.h" |
diff --git a/fs/gfs2/super.c b/fs/gfs2/super.c index e3ee387a6dfe..361796a84fce 100644 --- a/fs/gfs2/super.c +++ b/fs/gfs2/super.c | |||
| @@ -10,7 +10,7 @@ | |||
| 10 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 10 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| 11 | 11 | ||
| 12 | #include <linux/bio.h> | 12 | #include <linux/bio.h> |
| 13 | #include <linux/sched.h> | 13 | #include <linux/sched/signal.h> |
| 14 | #include <linux/slab.h> | 14 | #include <linux/slab.h> |
| 15 | #include <linux/spinlock.h> | 15 | #include <linux/spinlock.h> |
| 16 | #include <linux/completion.h> | 16 | #include <linux/completion.h> |
diff --git a/fs/gfs2/sys.c b/fs/gfs2/sys.c index f8d30e41d1d3..7a515345610c 100644 --- a/fs/gfs2/sys.c +++ b/fs/gfs2/sys.c | |||
| @@ -10,6 +10,7 @@ | |||
| 10 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 10 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| 11 | 11 | ||
| 12 | #include <linux/sched.h> | 12 | #include <linux/sched.h> |
| 13 | #include <linux/cred.h> | ||
| 13 | #include <linux/spinlock.h> | 14 | #include <linux/spinlock.h> |
| 14 | #include <linux/completion.h> | 15 | #include <linux/completion.h> |
| 15 | #include <linux/buffer_head.h> | 16 | #include <linux/buffer_head.h> |
diff --git a/fs/hfs/inode.c b/fs/hfs/inode.c index f776acf2378a..bfbba799430f 100644 --- a/fs/hfs/inode.c +++ b/fs/hfs/inode.c | |||
| @@ -14,6 +14,7 @@ | |||
| 14 | #include <linux/pagemap.h> | 14 | #include <linux/pagemap.h> |
| 15 | #include <linux/mpage.h> | 15 | #include <linux/mpage.h> |
| 16 | #include <linux/sched.h> | 16 | #include <linux/sched.h> |
| 17 | #include <linux/cred.h> | ||
| 17 | #include <linux/uio.h> | 18 | #include <linux/uio.h> |
| 18 | #include <linux/xattr.h> | 19 | #include <linux/xattr.h> |
| 19 | 20 | ||
diff --git a/fs/hfsplus/inode.c b/fs/hfsplus/inode.c index 2e796f8302ff..e8638d528195 100644 --- a/fs/hfsplus/inode.c +++ b/fs/hfsplus/inode.c | |||
| @@ -14,6 +14,7 @@ | |||
| 14 | #include <linux/pagemap.h> | 14 | #include <linux/pagemap.h> |
| 15 | #include <linux/mpage.h> | 15 | #include <linux/mpage.h> |
| 16 | #include <linux/sched.h> | 16 | #include <linux/sched.h> |
| 17 | #include <linux/cred.h> | ||
| 17 | #include <linux/uio.h> | 18 | #include <linux/uio.h> |
| 18 | 19 | ||
| 19 | #include "hfsplus_fs.h" | 20 | #include "hfsplus_fs.h" |
diff --git a/fs/hpfs/hpfs_fn.h b/fs/hpfs/hpfs_fn.h index aebb78f9e47f..d352f3a6af7f 100644 --- a/fs/hpfs/hpfs_fn.h +++ b/fs/hpfs/hpfs_fn.h | |||
| @@ -18,7 +18,7 @@ | |||
| 18 | #include <linux/pagemap.h> | 18 | #include <linux/pagemap.h> |
| 19 | #include <linux/buffer_head.h> | 19 | #include <linux/buffer_head.h> |
| 20 | #include <linux/slab.h> | 20 | #include <linux/slab.h> |
| 21 | #include <linux/sched.h> | 21 | #include <linux/sched/signal.h> |
| 22 | #include <linux/blkdev.h> | 22 | #include <linux/blkdev.h> |
| 23 | #include <asm/unaligned.h> | 23 | #include <asm/unaligned.h> |
| 24 | 24 | ||
diff --git a/fs/hugetlbfs/inode.c b/fs/hugetlbfs/inode.c index 54de77e78775..8f96461236f6 100644 --- a/fs/hugetlbfs/inode.c +++ b/fs/hugetlbfs/inode.c | |||
| @@ -11,7 +11,7 @@ | |||
| 11 | 11 | ||
| 12 | #include <linux/thread_info.h> | 12 | #include <linux/thread_info.h> |
| 13 | #include <asm/current.h> | 13 | #include <asm/current.h> |
| 14 | #include <linux/sched.h> /* remove ASAP */ | 14 | #include <linux/sched/signal.h> /* remove ASAP */ |
| 15 | #include <linux/falloc.h> | 15 | #include <linux/falloc.h> |
| 16 | #include <linux/fs.h> | 16 | #include <linux/fs.h> |
| 17 | #include <linux/mount.h> | 17 | #include <linux/mount.h> |
diff --git a/fs/ioctl.c b/fs/ioctl.c index cb9b02940805..569db68d02b3 100644 --- a/fs/ioctl.c +++ b/fs/ioctl.c | |||
| @@ -15,6 +15,8 @@ | |||
| 15 | #include <linux/writeback.h> | 15 | #include <linux/writeback.h> |
| 16 | #include <linux/buffer_head.h> | 16 | #include <linux/buffer_head.h> |
| 17 | #include <linux/falloc.h> | 17 | #include <linux/falloc.h> |
| 18 | #include <linux/sched/signal.h> | ||
| 19 | |||
| 18 | #include "internal.h" | 20 | #include "internal.h" |
| 19 | 21 | ||
| 20 | #include <asm/ioctls.h> | 22 | #include <asm/ioctls.h> |
diff --git a/fs/iomap.c b/fs/iomap.c index 0f85f2410605..3ca1a8e44135 100644 --- a/fs/iomap.c +++ b/fs/iomap.c | |||
| @@ -26,6 +26,8 @@ | |||
| 26 | #include <linux/buffer_head.h> | 26 | #include <linux/buffer_head.h> |
| 27 | #include <linux/task_io_accounting_ops.h> | 27 | #include <linux/task_io_accounting_ops.h> |
| 28 | #include <linux/dax.h> | 28 | #include <linux/dax.h> |
| 29 | #include <linux/sched/signal.h> | ||
| 30 | |||
| 29 | #include "internal.h" | 31 | #include "internal.h" |
| 30 | 32 | ||
| 31 | /* | 33 | /* |
diff --git a/fs/isofs/inode.c b/fs/isofs/inode.c index 871c8b392099..020ba0936146 100644 --- a/fs/isofs/inode.c +++ b/fs/isofs/inode.c | |||
| @@ -15,6 +15,7 @@ | |||
| 15 | #include <linux/module.h> | 15 | #include <linux/module.h> |
| 16 | 16 | ||
| 17 | #include <linux/slab.h> | 17 | #include <linux/slab.h> |
| 18 | #include <linux/cred.h> | ||
| 18 | #include <linux/nls.h> | 19 | #include <linux/nls.h> |
| 19 | #include <linux/ctype.h> | 20 | #include <linux/ctype.h> |
| 20 | #include <linux/statfs.h> | 21 | #include <linux/statfs.h> |
diff --git a/fs/jffs2/background.c b/fs/jffs2/background.c index e5c1783ab64a..453a6a1fff34 100644 --- a/fs/jffs2/background.c +++ b/fs/jffs2/background.c | |||
| @@ -16,7 +16,7 @@ | |||
| 16 | #include <linux/jffs2.h> | 16 | #include <linux/jffs2.h> |
| 17 | #include <linux/mtd/mtd.h> | 17 | #include <linux/mtd/mtd.h> |
| 18 | #include <linux/completion.h> | 18 | #include <linux/completion.h> |
| 19 | #include <linux/sched.h> | 19 | #include <linux/sched/signal.h> |
| 20 | #include <linux/freezer.h> | 20 | #include <linux/freezer.h> |
| 21 | #include <linux/kthread.h> | 21 | #include <linux/kthread.h> |
| 22 | #include "nodelist.h" | 22 | #include "nodelist.h" |
diff --git a/fs/jffs2/fs.c b/fs/jffs2/fs.c index 567653f7c0ce..76fa814df3d1 100644 --- a/fs/jffs2/fs.c +++ b/fs/jffs2/fs.c | |||
| @@ -15,6 +15,7 @@ | |||
| 15 | #include <linux/capability.h> | 15 | #include <linux/capability.h> |
| 16 | #include <linux/kernel.h> | 16 | #include <linux/kernel.h> |
| 17 | #include <linux/sched.h> | 17 | #include <linux/sched.h> |
| 18 | #include <linux/cred.h> | ||
| 18 | #include <linux/fs.h> | 19 | #include <linux/fs.h> |
| 19 | #include <linux/list.h> | 20 | #include <linux/list.h> |
| 20 | #include <linux/mtd/mtd.h> | 21 | #include <linux/mtd/mtd.h> |
diff --git a/fs/jffs2/nodemgmt.c b/fs/jffs2/nodemgmt.c index cda0774c2c9c..a7bbe879cfc3 100644 --- a/fs/jffs2/nodemgmt.c +++ b/fs/jffs2/nodemgmt.c | |||
| @@ -14,7 +14,7 @@ | |||
| 14 | #include <linux/kernel.h> | 14 | #include <linux/kernel.h> |
| 15 | #include <linux/mtd/mtd.h> | 15 | #include <linux/mtd/mtd.h> |
| 16 | #include <linux/compiler.h> | 16 | #include <linux/compiler.h> |
| 17 | #include <linux/sched.h> /* For cond_resched() */ | 17 | #include <linux/sched/signal.h> |
| 18 | #include "nodelist.h" | 18 | #include "nodelist.h" |
| 19 | #include "debug.h" | 19 | #include "debug.h" |
| 20 | 20 | ||
diff --git a/fs/kernfs/file.c b/fs/kernfs/file.c index 35043a8c4529..8e4dc7ab584c 100644 --- a/fs/kernfs/file.c +++ b/fs/kernfs/file.c | |||
| @@ -13,7 +13,7 @@ | |||
| 13 | #include <linux/slab.h> | 13 | #include <linux/slab.h> |
| 14 | #include <linux/poll.h> | 14 | #include <linux/poll.h> |
| 15 | #include <linux/pagemap.h> | 15 | #include <linux/pagemap.h> |
| 16 | #include <linux/sched.h> | 16 | #include <linux/sched/mm.h> |
| 17 | #include <linux/fsnotify.h> | 17 | #include <linux/fsnotify.h> |
| 18 | 18 | ||
| 19 | #include "kernfs-internal.h" | 19 | #include "kernfs-internal.h" |
diff --git a/fs/libfs.c b/fs/libfs.c index 28d6f35feed6..217896ca4fae 100644 --- a/fs/libfs.c +++ b/fs/libfs.c | |||
| @@ -7,6 +7,7 @@ | |||
| 7 | #include <linux/export.h> | 7 | #include <linux/export.h> |
| 8 | #include <linux/pagemap.h> | 8 | #include <linux/pagemap.h> |
| 9 | #include <linux/slab.h> | 9 | #include <linux/slab.h> |
| 10 | #include <linux/cred.h> | ||
| 10 | #include <linux/mount.h> | 11 | #include <linux/mount.h> |
| 11 | #include <linux/vfs.h> | 12 | #include <linux/vfs.h> |
| 12 | #include <linux/quotaops.h> | 13 | #include <linux/quotaops.h> |
diff --git a/fs/lockd/svc.c b/fs/lockd/svc.c index 7e4ea3b9f472..e7c8b9c76e48 100644 --- a/fs/lockd/svc.c +++ b/fs/lockd/svc.c | |||
| @@ -17,7 +17,7 @@ | |||
| 17 | #include <linux/sysctl.h> | 17 | #include <linux/sysctl.h> |
| 18 | #include <linux/moduleparam.h> | 18 | #include <linux/moduleparam.h> |
| 19 | 19 | ||
| 20 | #include <linux/sched.h> | 20 | #include <linux/sched/signal.h> |
| 21 | #include <linux/errno.h> | 21 | #include <linux/errno.h> |
| 22 | #include <linux/in.h> | 22 | #include <linux/in.h> |
| 23 | #include <linux/uio.h> | 23 | #include <linux/uio.h> |
diff --git a/fs/namespace.c b/fs/namespace.c index 8bfad42c1ccf..cc1375eff88c 100644 --- a/fs/namespace.c +++ b/fs/namespace.c | |||
| @@ -15,6 +15,7 @@ | |||
| 15 | #include <linux/user_namespace.h> | 15 | #include <linux/user_namespace.h> |
| 16 | #include <linux/namei.h> | 16 | #include <linux/namei.h> |
| 17 | #include <linux/security.h> | 17 | #include <linux/security.h> |
| 18 | #include <linux/cred.h> | ||
| 18 | #include <linux/idr.h> | 19 | #include <linux/idr.h> |
| 19 | #include <linux/init.h> /* init_rootfs */ | 20 | #include <linux/init.h> /* init_rootfs */ |
| 20 | #include <linux/fs_struct.h> /* get_fs_root et.al. */ | 21 | #include <linux/fs_struct.h> /* get_fs_root et.al. */ |
| @@ -24,6 +25,8 @@ | |||
| 24 | #include <linux/magic.h> | 25 | #include <linux/magic.h> |
| 25 | #include <linux/bootmem.h> | 26 | #include <linux/bootmem.h> |
| 26 | #include <linux/task_work.h> | 27 | #include <linux/task_work.h> |
| 28 | #include <linux/sched/task.h> | ||
| 29 | |||
| 27 | #include "pnode.h" | 30 | #include "pnode.h" |
| 28 | #include "internal.h" | 31 | #include "internal.h" |
| 29 | 32 | ||
diff --git a/fs/ncpfs/inode.c b/fs/ncpfs/inode.c index 7eb89c23c847..d5606099712a 100644 --- a/fs/ncpfs/inode.c +++ b/fs/ncpfs/inode.c | |||
| @@ -30,6 +30,7 @@ | |||
| 30 | #include <linux/vfs.h> | 30 | #include <linux/vfs.h> |
| 31 | #include <linux/mount.h> | 31 | #include <linux/mount.h> |
| 32 | #include <linux/seq_file.h> | 32 | #include <linux/seq_file.h> |
| 33 | #include <linux/sched/signal.h> | ||
| 33 | #include <linux/namei.h> | 34 | #include <linux/namei.h> |
| 34 | 35 | ||
| 35 | #include <net/sock.h> | 36 | #include <net/sock.h> |
diff --git a/fs/ncpfs/ioctl.c b/fs/ncpfs/ioctl.c index 4434e4977cf3..12550c2320cc 100644 --- a/fs/ncpfs/ioctl.c +++ b/fs/ncpfs/ioctl.c | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | #include <linux/highuid.h> | 19 | #include <linux/highuid.h> |
| 20 | #include <linux/vmalloc.h> | 20 | #include <linux/vmalloc.h> |
| 21 | #include <linux/sched.h> | 21 | #include <linux/sched.h> |
| 22 | #include <linux/cred.h> | ||
| 22 | 23 | ||
| 23 | #include <linux/uaccess.h> | 24 | #include <linux/uaccess.h> |
| 24 | 25 | ||
diff --git a/fs/ncpfs/sock.c b/fs/ncpfs/sock.c index 4bfeae289b00..98b6db0ed63e 100644 --- a/fs/ncpfs/sock.c +++ b/fs/ncpfs/sock.c | |||
| @@ -16,6 +16,7 @@ | |||
| 16 | #include <linux/fcntl.h> | 16 | #include <linux/fcntl.h> |
| 17 | #include <linux/stat.h> | 17 | #include <linux/stat.h> |
| 18 | #include <linux/string.h> | 18 | #include <linux/string.h> |
| 19 | #include <linux/sched/signal.h> | ||
| 19 | #include <linux/uaccess.h> | 20 | #include <linux/uaccess.h> |
| 20 | #include <linux/in.h> | 21 | #include <linux/in.h> |
| 21 | #include <linux/net.h> | 22 | #include <linux/net.h> |
diff --git a/fs/nfs/callback.c b/fs/nfs/callback.c index 484bebc20bca..bb79972dc638 100644 --- a/fs/nfs/callback.c +++ b/fs/nfs/callback.c | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | #include <linux/completion.h> | 9 | #include <linux/completion.h> |
| 10 | #include <linux/ip.h> | 10 | #include <linux/ip.h> |
| 11 | #include <linux/module.h> | 11 | #include <linux/module.h> |
| 12 | #include <linux/sched/signal.h> | ||
| 12 | #include <linux/sunrpc/svc.h> | 13 | #include <linux/sunrpc/svc.h> |
| 13 | #include <linux/sunrpc/svcsock.h> | 14 | #include <linux/sunrpc/svcsock.h> |
| 14 | #include <linux/nfs_fs.h> | 15 | #include <linux/nfs_fs.h> |
diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c index 5ca4d96b1942..685565b229c3 100644 --- a/fs/nfs/inode.c +++ b/fs/nfs/inode.c | |||
| @@ -15,7 +15,7 @@ | |||
| 15 | 15 | ||
| 16 | #include <linux/module.h> | 16 | #include <linux/module.h> |
| 17 | #include <linux/init.h> | 17 | #include <linux/init.h> |
| 18 | #include <linux/sched.h> | 18 | #include <linux/sched/signal.h> |
| 19 | #include <linux/time.h> | 19 | #include <linux/time.h> |
| 20 | #include <linux/kernel.h> | 20 | #include <linux/kernel.h> |
| 21 | #include <linux/mm.h> | 21 | #include <linux/mm.h> |
diff --git a/fs/nfsd/nfssvc.c b/fs/nfsd/nfssvc.c index efd66da99201..786a4a2cb2d7 100644 --- a/fs/nfsd/nfssvc.c +++ b/fs/nfsd/nfssvc.c | |||
| @@ -6,7 +6,7 @@ | |||
| 6 | * Copyright (C) 1995, 1996, 1997 Olaf Kirch <okir@monad.swb.de> | 6 | * Copyright (C) 1995, 1996, 1997 Olaf Kirch <okir@monad.swb.de> |
| 7 | */ | 7 | */ |
| 8 | 8 | ||
| 9 | #include <linux/sched.h> | 9 | #include <linux/sched/signal.h> |
| 10 | #include <linux/freezer.h> | 10 | #include <linux/freezer.h> |
| 11 | #include <linux/module.h> | 11 | #include <linux/module.h> |
| 12 | #include <linux/fs_struct.h> | 12 | #include <linux/fs_struct.h> |
diff --git a/fs/nilfs2/segment.c b/fs/nilfs2/segment.c index 7d18d62e8e07..febed1217b3f 100644 --- a/fs/nilfs2/segment.c +++ b/fs/nilfs2/segment.c | |||
| @@ -30,6 +30,8 @@ | |||
| 30 | #include <linux/crc32.h> | 30 | #include <linux/crc32.h> |
| 31 | #include <linux/pagevec.h> | 31 | #include <linux/pagevec.h> |
| 32 | #include <linux/slab.h> | 32 | #include <linux/slab.h> |
| 33 | #include <linux/sched/signal.h> | ||
| 34 | |||
| 33 | #include "nilfs.h" | 35 | #include "nilfs.h" |
| 34 | #include "btnode.h" | 36 | #include "btnode.h" |
| 35 | #include "page.h" | 37 | #include "page.h" |
diff --git a/fs/notify/fanotify/fanotify.c b/fs/notify/fanotify/fanotify.c index a4c46221755e..e5f7e47de68e 100644 --- a/fs/notify/fanotify/fanotify.c +++ b/fs/notify/fanotify/fanotify.c | |||
| @@ -6,6 +6,7 @@ | |||
| 6 | #include <linux/kernel.h> /* UINT_MAX */ | 6 | #include <linux/kernel.h> /* UINT_MAX */ |
| 7 | #include <linux/mount.h> | 7 | #include <linux/mount.h> |
| 8 | #include <linux/sched.h> | 8 | #include <linux/sched.h> |
| 9 | #include <linux/sched/user.h> | ||
| 9 | #include <linux/types.h> | 10 | #include <linux/types.h> |
| 10 | #include <linux/wait.h> | 11 | #include <linux/wait.h> |
| 11 | 12 | ||
diff --git a/fs/notify/fanotify/fanotify_user.c b/fs/notify/fanotify/fanotify_user.c index 7ebfca6a1427..2b37f2785834 100644 --- a/fs/notify/fanotify/fanotify_user.c +++ b/fs/notify/fanotify/fanotify_user.c | |||
| @@ -14,6 +14,7 @@ | |||
| 14 | #include <linux/types.h> | 14 | #include <linux/types.h> |
| 15 | #include <linux/uaccess.h> | 15 | #include <linux/uaccess.h> |
| 16 | #include <linux/compat.h> | 16 | #include <linux/compat.h> |
| 17 | #include <linux/sched/signal.h> | ||
| 17 | 18 | ||
| 18 | #include <asm/ioctls.h> | 19 | #include <asm/ioctls.h> |
| 19 | 20 | ||
diff --git a/fs/notify/inotify/inotify_fsnotify.c b/fs/notify/inotify/inotify_fsnotify.c index f36c29398de3..1aeb837ae414 100644 --- a/fs/notify/inotify/inotify_fsnotify.c +++ b/fs/notify/inotify/inotify_fsnotify.c | |||
| @@ -30,6 +30,7 @@ | |||
| 30 | #include <linux/slab.h> /* kmem_* */ | 30 | #include <linux/slab.h> /* kmem_* */ |
| 31 | #include <linux/types.h> | 31 | #include <linux/types.h> |
| 32 | #include <linux/sched.h> | 32 | #include <linux/sched.h> |
| 33 | #include <linux/sched/user.h> | ||
| 33 | 34 | ||
| 34 | #include "inotify.h" | 35 | #include "inotify.h" |
| 35 | 36 | ||
diff --git a/fs/notify/inotify/inotify_user.c b/fs/notify/inotify/inotify_user.c index 1cf41c623be1..498d609b26c7 100644 --- a/fs/notify/inotify/inotify_user.c +++ b/fs/notify/inotify/inotify_user.c | |||
| @@ -30,7 +30,7 @@ | |||
| 30 | #include <linux/inotify.h> | 30 | #include <linux/inotify.h> |
| 31 | #include <linux/kernel.h> /* roundup() */ | 31 | #include <linux/kernel.h> /* roundup() */ |
| 32 | #include <linux/namei.h> /* LOOKUP_FOLLOW */ | 32 | #include <linux/namei.h> /* LOOKUP_FOLLOW */ |
| 33 | #include <linux/sched.h> /* struct user */ | 33 | #include <linux/sched/signal.h> |
| 34 | #include <linux/slab.h> /* struct kmem_cache */ | 34 | #include <linux/slab.h> /* struct kmem_cache */ |
| 35 | #include <linux/syscalls.h> | 35 | #include <linux/syscalls.h> |
| 36 | #include <linux/types.h> | 36 | #include <linux/types.h> |
diff --git a/fs/ntfs/file.c b/fs/ntfs/file.c index 358ed7e1195a..c4f68c338735 100644 --- a/fs/ntfs/file.c +++ b/fs/ntfs/file.c | |||
| @@ -24,7 +24,7 @@ | |||
| 24 | #include <linux/gfp.h> | 24 | #include <linux/gfp.h> |
| 25 | #include <linux/pagemap.h> | 25 | #include <linux/pagemap.h> |
| 26 | #include <linux/pagevec.h> | 26 | #include <linux/pagevec.h> |
| 27 | #include <linux/sched.h> | 27 | #include <linux/sched/signal.h> |
| 28 | #include <linux/swap.h> | 28 | #include <linux/swap.h> |
| 29 | #include <linux/uio.h> | 29 | #include <linux/uio.h> |
| 30 | #include <linux/writeback.h> | 30 | #include <linux/writeback.h> |
diff --git a/fs/ocfs2/alloc.c b/fs/ocfs2/alloc.c index d4ec0d8961a6..fb15a96df0b6 100644 --- a/fs/ocfs2/alloc.c +++ b/fs/ocfs2/alloc.c | |||
| @@ -30,6 +30,7 @@ | |||
| 30 | #include <linux/swap.h> | 30 | #include <linux/swap.h> |
| 31 | #include <linux/quotaops.h> | 31 | #include <linux/quotaops.h> |
| 32 | #include <linux/blkdev.h> | 32 | #include <linux/blkdev.h> |
| 33 | #include <linux/sched/signal.h> | ||
| 33 | 34 | ||
| 34 | #include <cluster/masklog.h> | 35 | #include <cluster/masklog.h> |
| 35 | 36 | ||
diff --git a/fs/ocfs2/cluster/tcp.c b/fs/ocfs2/cluster/tcp.c index ec000575e863..4348027384f5 100644 --- a/fs/ocfs2/cluster/tcp.c +++ b/fs/ocfs2/cluster/tcp.c | |||
| @@ -54,6 +54,7 @@ | |||
| 54 | */ | 54 | */ |
| 55 | 55 | ||
| 56 | #include <linux/kernel.h> | 56 | #include <linux/kernel.h> |
| 57 | #include <linux/sched/mm.h> | ||
| 57 | #include <linux/jiffies.h> | 58 | #include <linux/jiffies.h> |
| 58 | #include <linux/slab.h> | 59 | #include <linux/slab.h> |
| 59 | #include <linux/idr.h> | 60 | #include <linux/idr.h> |
diff --git a/fs/ocfs2/dlm/dlmdomain.c b/fs/ocfs2/dlm/dlmdomain.c index 32fd261ae13d..a2b19fbdcf46 100644 --- a/fs/ocfs2/dlm/dlmdomain.c +++ b/fs/ocfs2/dlm/dlmdomain.c | |||
| @@ -33,6 +33,7 @@ | |||
| 33 | #include <linux/delay.h> | 33 | #include <linux/delay.h> |
| 34 | #include <linux/err.h> | 34 | #include <linux/err.h> |
| 35 | #include <linux/debugfs.h> | 35 | #include <linux/debugfs.h> |
| 36 | #include <linux/sched/signal.h> | ||
| 36 | 37 | ||
| 37 | #include "cluster/heartbeat.h" | 38 | #include "cluster/heartbeat.h" |
| 38 | #include "cluster/nodemanager.h" | 39 | #include "cluster/nodemanager.h" |
diff --git a/fs/ocfs2/dlmfs/userdlm.c b/fs/ocfs2/dlmfs/userdlm.c index f70cda2f090d..9cecf4857195 100644 --- a/fs/ocfs2/dlmfs/userdlm.c +++ b/fs/ocfs2/dlmfs/userdlm.c | |||
| @@ -28,6 +28,7 @@ | |||
| 28 | */ | 28 | */ |
| 29 | 29 | ||
| 30 | #include <linux/signal.h> | 30 | #include <linux/signal.h> |
| 31 | #include <linux/sched/signal.h> | ||
| 31 | 32 | ||
| 32 | #include <linux/module.h> | 33 | #include <linux/module.h> |
| 33 | #include <linux/fs.h> | 34 | #include <linux/fs.h> |
diff --git a/fs/ocfs2/dlmglue.c b/fs/ocfs2/dlmglue.c index 8dce4099a6ca..3b7c937a36b5 100644 --- a/fs/ocfs2/dlmglue.c +++ b/fs/ocfs2/dlmglue.c | |||
| @@ -33,6 +33,7 @@ | |||
| 33 | #include <linux/seq_file.h> | 33 | #include <linux/seq_file.h> |
| 34 | #include <linux/time.h> | 34 | #include <linux/time.h> |
| 35 | #include <linux/quotaops.h> | 35 | #include <linux/quotaops.h> |
| 36 | #include <linux/sched/signal.h> | ||
| 36 | 37 | ||
| 37 | #define MLOG_MASK_PREFIX ML_DLM_GLUE | 38 | #define MLOG_MASK_PREFIX ML_DLM_GLUE |
| 38 | #include <cluster/masklog.h> | 39 | #include <cluster/masklog.h> |
diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c index a24e42f95341..ca1646fbcaef 100644 --- a/fs/ocfs2/super.c +++ b/fs/ocfs2/super.c | |||
| @@ -42,6 +42,7 @@ | |||
| 42 | #include <linux/seq_file.h> | 42 | #include <linux/seq_file.h> |
| 43 | #include <linux/quotaops.h> | 43 | #include <linux/quotaops.h> |
| 44 | #include <linux/cleancache.h> | 44 | #include <linux/cleancache.h> |
| 45 | #include <linux/signal.h> | ||
| 45 | 46 | ||
| 46 | #define CREATE_TRACE_POINTS | 47 | #define CREATE_TRACE_POINTS |
| 47 | #include "ocfs2_trace.h" | 48 | #include "ocfs2_trace.h" |
diff --git a/fs/omfs/inode.c b/fs/omfs/inode.c index df7ea8543a2e..8c9034ee7383 100644 --- a/fs/omfs/inode.c +++ b/fs/omfs/inode.c | |||
| @@ -8,6 +8,7 @@ | |||
| 8 | #include <linux/slab.h> | 8 | #include <linux/slab.h> |
| 9 | #include <linux/fs.h> | 9 | #include <linux/fs.h> |
| 10 | #include <linux/vfs.h> | 10 | #include <linux/vfs.h> |
| 11 | #include <linux/cred.h> | ||
| 11 | #include <linux/parser.h> | 12 | #include <linux/parser.h> |
| 12 | #include <linux/buffer_head.h> | 13 | #include <linux/buffer_head.h> |
| 13 | #include <linux/vmalloc.h> | 14 | #include <linux/vmalloc.h> |
diff --git a/fs/orangefs/orangefs-kernel.h b/fs/orangefs/orangefs-kernel.h index 70355a9a2596..8948683b367f 100644 --- a/fs/orangefs/orangefs-kernel.h +++ b/fs/orangefs/orangefs-kernel.h | |||
| @@ -41,7 +41,7 @@ | |||
| 41 | #include <linux/uaccess.h> | 41 | #include <linux/uaccess.h> |
| 42 | #include <linux/atomic.h> | 42 | #include <linux/atomic.h> |
| 43 | #include <linux/uio.h> | 43 | #include <linux/uio.h> |
| 44 | #include <linux/sched.h> | 44 | #include <linux/sched/signal.h> |
| 45 | #include <linux/mm.h> | 45 | #include <linux/mm.h> |
| 46 | #include <linux/wait.h> | 46 | #include <linux/wait.h> |
| 47 | #include <linux/dcache.h> | 47 | #include <linux/dcache.h> |
diff --git a/fs/overlayfs/copy_up.c b/fs/overlayfs/copy_up.c index f57043dace62..a34aa7aa2563 100644 --- a/fs/overlayfs/copy_up.c +++ b/fs/overlayfs/copy_up.c | |||
| @@ -15,7 +15,8 @@ | |||
| 15 | #include <linux/xattr.h> | 15 | #include <linux/xattr.h> |
| 16 | #include <linux/security.h> | 16 | #include <linux/security.h> |
| 17 | #include <linux/uaccess.h> | 17 | #include <linux/uaccess.h> |
| 18 | #include <linux/sched.h> | 18 | #include <linux/sched/signal.h> |
| 19 | #include <linux/cred.h> | ||
| 19 | #include <linux/namei.h> | 20 | #include <linux/namei.h> |
| 20 | #include <linux/fdtable.h> | 21 | #include <linux/fdtable.h> |
| 21 | #include <linux/ratelimit.h> | 22 | #include <linux/ratelimit.h> |
diff --git a/fs/overlayfs/inode.c b/fs/overlayfs/inode.c index 08643ac44a02..6639f487f835 100644 --- a/fs/overlayfs/inode.c +++ b/fs/overlayfs/inode.c | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | 9 | ||
| 10 | #include <linux/fs.h> | 10 | #include <linux/fs.h> |
| 11 | #include <linux/slab.h> | 11 | #include <linux/slab.h> |
| 12 | #include <linux/cred.h> | ||
| 12 | #include <linux/xattr.h> | 13 | #include <linux/xattr.h> |
| 13 | #include <linux/posix_acl.h> | 14 | #include <linux/posix_acl.h> |
| 14 | #include "overlayfs.h" | 15 | #include "overlayfs.h" |
diff --git a/fs/overlayfs/namei.c b/fs/overlayfs/namei.c index 023bb0b03352..b8b077821fb0 100644 --- a/fs/overlayfs/namei.c +++ b/fs/overlayfs/namei.c | |||
| @@ -8,6 +8,7 @@ | |||
| 8 | */ | 8 | */ |
| 9 | 9 | ||
| 10 | #include <linux/fs.h> | 10 | #include <linux/fs.h> |
| 11 | #include <linux/cred.h> | ||
| 11 | #include <linux/namei.h> | 12 | #include <linux/namei.h> |
| 12 | #include <linux/xattr.h> | 13 | #include <linux/xattr.h> |
| 13 | #include <linux/ratelimit.h> | 14 | #include <linux/ratelimit.h> |
diff --git a/fs/overlayfs/super.c b/fs/overlayfs/super.c index 20f48abbb82f..9aa37c2f7f7d 100644 --- a/fs/overlayfs/super.c +++ b/fs/overlayfs/super.c | |||
| @@ -7,6 +7,7 @@ | |||
| 7 | * the Free Software Foundation. | 7 | * the Free Software Foundation. |
| 8 | */ | 8 | */ |
| 9 | 9 | ||
| 10 | #include <uapi/linux/magic.h> | ||
| 10 | #include <linux/fs.h> | 11 | #include <linux/fs.h> |
| 11 | #include <linux/namei.h> | 12 | #include <linux/namei.h> |
| 12 | #include <linux/xattr.h> | 13 | #include <linux/xattr.h> |
diff --git a/fs/overlayfs/util.c b/fs/overlayfs/util.c index 952286f4826c..9dc1c0af586b 100644 --- a/fs/overlayfs/util.c +++ b/fs/overlayfs/util.c | |||
| @@ -10,6 +10,7 @@ | |||
| 10 | #include <linux/fs.h> | 10 | #include <linux/fs.h> |
| 11 | #include <linux/mount.h> | 11 | #include <linux/mount.h> |
| 12 | #include <linux/slab.h> | 12 | #include <linux/slab.h> |
| 13 | #include <linux/cred.h> | ||
| 13 | #include <linux/xattr.h> | 14 | #include <linux/xattr.h> |
| 14 | #include "overlayfs.h" | 15 | #include "overlayfs.h" |
| 15 | #include "ovl_entry.h" | 16 | #include "ovl_entry.h" |
diff --git a/fs/posix_acl.c b/fs/posix_acl.c index c9d48dc78495..eebf5f6cf6d5 100644 --- a/fs/posix_acl.c +++ b/fs/posix_acl.c | |||
| @@ -15,6 +15,7 @@ | |||
| 15 | #include <linux/atomic.h> | 15 | #include <linux/atomic.h> |
| 16 | #include <linux/fs.h> | 16 | #include <linux/fs.h> |
| 17 | #include <linux/sched.h> | 17 | #include <linux/sched.h> |
| 18 | #include <linux/cred.h> | ||
| 18 | #include <linux/posix_acl.h> | 19 | #include <linux/posix_acl.h> |
| 19 | #include <linux/posix_acl_xattr.h> | 20 | #include <linux/posix_acl_xattr.h> |
| 20 | #include <linux/xattr.h> | 21 | #include <linux/xattr.h> |
diff --git a/fs/proc/array.c b/fs/proc/array.c index fe12b519d09b..88c355574aa0 100644 --- a/fs/proc/array.c +++ b/fs/proc/array.c | |||
| @@ -60,6 +60,10 @@ | |||
| 60 | #include <linux/tty.h> | 60 | #include <linux/tty.h> |
| 61 | #include <linux/string.h> | 61 | #include <linux/string.h> |
| 62 | #include <linux/mman.h> | 62 | #include <linux/mman.h> |
| 63 | #include <linux/sched/mm.h> | ||
| 64 | #include <linux/sched/numa_balancing.h> | ||
| 65 | #include <linux/sched/task.h> | ||
| 66 | #include <linux/sched/cputime.h> | ||
| 63 | #include <linux/proc_fs.h> | 67 | #include <linux/proc_fs.h> |
| 64 | #include <linux/ioport.h> | 68 | #include <linux/ioport.h> |
| 65 | #include <linux/uaccess.h> | 69 | #include <linux/uaccess.h> |
diff --git a/fs/proc/base.c b/fs/proc/base.c index 1e1e182d571b..2dae60075f6e 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c | |||
| @@ -85,6 +85,11 @@ | |||
| 85 | #include <linux/user_namespace.h> | 85 | #include <linux/user_namespace.h> |
| 86 | #include <linux/fs_struct.h> | 86 | #include <linux/fs_struct.h> |
| 87 | #include <linux/slab.h> | 87 | #include <linux/slab.h> |
| 88 | #include <linux/sched/autogroup.h> | ||
| 89 | #include <linux/sched/mm.h> | ||
| 90 | #include <linux/sched/coredump.h> | ||
| 91 | #include <linux/sched/debug.h> | ||
| 92 | #include <linux/sched/stat.h> | ||
| 88 | #include <linux/flex_array.h> | 93 | #include <linux/flex_array.h> |
| 89 | #include <linux/posix-timers.h> | 94 | #include <linux/posix-timers.h> |
| 90 | #ifdef CONFIG_HARDWALL | 95 | #ifdef CONFIG_HARDWALL |
diff --git a/fs/proc/fd.c b/fs/proc/fd.c index 00ce1531b2f5..c330495c3115 100644 --- a/fs/proc/fd.c +++ b/fs/proc/fd.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | #include <linux/sched.h> | 1 | #include <linux/sched/signal.h> |
| 2 | #include <linux/errno.h> | 2 | #include <linux/errno.h> |
| 3 | #include <linux/dcache.h> | 3 | #include <linux/dcache.h> |
| 4 | #include <linux/path.h> | 4 | #include <linux/path.h> |
diff --git a/fs/proc/internal.h b/fs/proc/internal.h index 5d6960f5f1c0..26a6daf02185 100644 --- a/fs/proc/internal.h +++ b/fs/proc/internal.h | |||
| @@ -14,6 +14,8 @@ | |||
| 14 | #include <linux/spinlock.h> | 14 | #include <linux/spinlock.h> |
| 15 | #include <linux/atomic.h> | 15 | #include <linux/atomic.h> |
| 16 | #include <linux/binfmts.h> | 16 | #include <linux/binfmts.h> |
| 17 | #include <linux/sched/coredump.h> | ||
| 18 | #include <linux/sched/task.h> | ||
| 17 | 19 | ||
| 18 | struct ctl_table_header; | 20 | struct ctl_table_header; |
| 19 | struct mempolicy; | 21 | struct mempolicy; |
diff --git a/fs/proc/kcore.c b/fs/proc/kcore.c index ea9f3d1ae830..4ee55274f155 100644 --- a/fs/proc/kcore.c +++ b/fs/proc/kcore.c | |||
| @@ -28,6 +28,7 @@ | |||
| 28 | #include <linux/list.h> | 28 | #include <linux/list.h> |
| 29 | #include <linux/ioport.h> | 29 | #include <linux/ioport.h> |
| 30 | #include <linux/memory.h> | 30 | #include <linux/memory.h> |
| 31 | #include <linux/sched/task.h> | ||
| 31 | #include <asm/sections.h> | 32 | #include <asm/sections.h> |
| 32 | #include "internal.h" | 33 | #include "internal.h" |
| 33 | 34 | ||
diff --git a/fs/proc/loadavg.c b/fs/proc/loadavg.c index aec66e6c2060..983fce5c2418 100644 --- a/fs/proc/loadavg.c +++ b/fs/proc/loadavg.c | |||
| @@ -3,6 +3,8 @@ | |||
| 3 | #include <linux/pid_namespace.h> | 3 | #include <linux/pid_namespace.h> |
| 4 | #include <linux/proc_fs.h> | 4 | #include <linux/proc_fs.h> |
| 5 | #include <linux/sched.h> | 5 | #include <linux/sched.h> |
| 6 | #include <linux/sched/loadavg.h> | ||
| 7 | #include <linux/sched/stat.h> | ||
| 6 | #include <linux/seq_file.h> | 8 | #include <linux/seq_file.h> |
| 7 | #include <linux/seqlock.h> | 9 | #include <linux/seqlock.h> |
| 8 | #include <linux/time.h> | 10 | #include <linux/time.h> |
diff --git a/fs/proc/proc_net.c b/fs/proc/proc_net.c index ffd72a6c6e04..5cbc65d7a1e1 100644 --- a/fs/proc/proc_net.c +++ b/fs/proc/proc_net.c | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | #include <linux/slab.h> | 17 | #include <linux/slab.h> |
| 18 | #include <linux/init.h> | 18 | #include <linux/init.h> |
| 19 | #include <linux/sched.h> | 19 | #include <linux/sched.h> |
| 20 | #include <linux/sched/task.h> | ||
| 20 | #include <linux/module.h> | 21 | #include <linux/module.h> |
| 21 | #include <linux/bitops.h> | 22 | #include <linux/bitops.h> |
| 22 | #include <linux/mount.h> | 23 | #include <linux/mount.h> |
diff --git a/fs/proc/proc_sysctl.c b/fs/proc/proc_sysctl.c index 3e64c6502dc8..3d203b1f5a02 100644 --- a/fs/proc/proc_sysctl.c +++ b/fs/proc/proc_sysctl.c | |||
| @@ -8,6 +8,7 @@ | |||
| 8 | #include <linux/printk.h> | 8 | #include <linux/printk.h> |
| 9 | #include <linux/security.h> | 9 | #include <linux/security.h> |
| 10 | #include <linux/sched.h> | 10 | #include <linux/sched.h> |
| 11 | #include <linux/cred.h> | ||
| 11 | #include <linux/namei.h> | 12 | #include <linux/namei.h> |
| 12 | #include <linux/mm.h> | 13 | #include <linux/mm.h> |
| 13 | #include <linux/module.h> | 14 | #include <linux/module.h> |
diff --git a/fs/proc/root.c b/fs/proc/root.c index b90da888b81a..a50ba388255f 100644 --- a/fs/proc/root.c +++ b/fs/proc/root.c | |||
| @@ -14,12 +14,14 @@ | |||
| 14 | #include <linux/stat.h> | 14 | #include <linux/stat.h> |
| 15 | #include <linux/init.h> | 15 | #include <linux/init.h> |
| 16 | #include <linux/sched.h> | 16 | #include <linux/sched.h> |
| 17 | #include <linux/sched/stat.h> | ||
| 17 | #include <linux/module.h> | 18 | #include <linux/module.h> |
| 18 | #include <linux/bitops.h> | 19 | #include <linux/bitops.h> |
| 19 | #include <linux/user_namespace.h> | 20 | #include <linux/user_namespace.h> |
| 20 | #include <linux/mount.h> | 21 | #include <linux/mount.h> |
| 21 | #include <linux/pid_namespace.h> | 22 | #include <linux/pid_namespace.h> |
| 22 | #include <linux/parser.h> | 23 | #include <linux/parser.h> |
| 24 | #include <linux/cred.h> | ||
| 23 | 25 | ||
| 24 | #include "internal.h" | 26 | #include "internal.h" |
| 25 | 27 | ||
diff --git a/fs/proc/stat.c b/fs/proc/stat.c index e47c3e8c4dfe..bd4e55f4aa20 100644 --- a/fs/proc/stat.c +++ b/fs/proc/stat.c | |||
| @@ -5,11 +5,12 @@ | |||
| 5 | #include <linux/kernel_stat.h> | 5 | #include <linux/kernel_stat.h> |
| 6 | #include <linux/proc_fs.h> | 6 | #include <linux/proc_fs.h> |
| 7 | #include <linux/sched.h> | 7 | #include <linux/sched.h> |
| 8 | #include <linux/sched/stat.h> | ||
| 8 | #include <linux/seq_file.h> | 9 | #include <linux/seq_file.h> |
| 9 | #include <linux/slab.h> | 10 | #include <linux/slab.h> |
| 10 | #include <linux/time.h> | 11 | #include <linux/time.h> |
| 11 | #include <linux/irqnr.h> | 12 | #include <linux/irqnr.h> |
| 12 | #include <linux/cputime.h> | 13 | #include <linux/sched/cputime.h> |
| 13 | #include <linux/tick.h> | 14 | #include <linux/tick.h> |
| 14 | 15 | ||
| 15 | #ifndef arch_irq_stat_cpu | 16 | #ifndef arch_irq_stat_cpu |
diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c index ee3efb229ef6..f08bd31c1081 100644 --- a/fs/proc/task_mmu.c +++ b/fs/proc/task_mmu.c | |||
| @@ -11,6 +11,7 @@ | |||
| 11 | #include <linux/mempolicy.h> | 11 | #include <linux/mempolicy.h> |
| 12 | #include <linux/rmap.h> | 12 | #include <linux/rmap.h> |
| 13 | #include <linux/swap.h> | 13 | #include <linux/swap.h> |
| 14 | #include <linux/sched/mm.h> | ||
| 14 | #include <linux/swapops.h> | 15 | #include <linux/swapops.h> |
| 15 | #include <linux/mmu_notifier.h> | 16 | #include <linux/mmu_notifier.h> |
| 16 | #include <linux/page_idle.h> | 17 | #include <linux/page_idle.h> |
diff --git a/fs/proc/task_nommu.c b/fs/proc/task_nommu.c index 1ef97cfcf422..23266694db11 100644 --- a/fs/proc/task_nommu.c +++ b/fs/proc/task_nommu.c | |||
| @@ -7,6 +7,8 @@ | |||
| 7 | #include <linux/ptrace.h> | 7 | #include <linux/ptrace.h> |
| 8 | #include <linux/slab.h> | 8 | #include <linux/slab.h> |
| 9 | #include <linux/seq_file.h> | 9 | #include <linux/seq_file.h> |
| 10 | #include <linux/sched/mm.h> | ||
| 11 | |||
| 10 | #include "internal.h" | 12 | #include "internal.h" |
| 11 | 13 | ||
| 12 | /* | 14 | /* |
diff --git a/fs/proc_namespace.c b/fs/proc_namespace.c index 3f1190d18991..b5713fefb4c1 100644 --- a/fs/proc_namespace.c +++ b/fs/proc_namespace.c | |||
| @@ -10,6 +10,8 @@ | |||
| 10 | #include <linux/nsproxy.h> | 10 | #include <linux/nsproxy.h> |
| 11 | #include <linux/security.h> | 11 | #include <linux/security.h> |
| 12 | #include <linux/fs_struct.h> | 12 | #include <linux/fs_struct.h> |
| 13 | #include <linux/sched/task.h> | ||
| 14 | |||
| 13 | #include "proc/internal.h" /* only for get_proc_task() in ->open() */ | 15 | #include "proc/internal.h" /* only for get_proc_task() in ->open() */ |
| 14 | 16 | ||
| 15 | #include "pnode.h" | 17 | #include "pnode.h" |
diff --git a/fs/quota/dquot.c b/fs/quota/dquot.c index 406fed92362a..74b489e3714d 100644 --- a/fs/quota/dquot.c +++ b/fs/quota/dquot.c | |||
| @@ -72,6 +72,7 @@ | |||
| 72 | #include <linux/proc_fs.h> | 72 | #include <linux/proc_fs.h> |
| 73 | #include <linux/security.h> | 73 | #include <linux/security.h> |
| 74 | #include <linux/sched.h> | 74 | #include <linux/sched.h> |
| 75 | #include <linux/cred.h> | ||
| 75 | #include <linux/kmod.h> | 76 | #include <linux/kmod.h> |
| 76 | #include <linux/namei.h> | 77 | #include <linux/namei.h> |
| 77 | #include <linux/capability.h> | 78 | #include <linux/capability.h> |
diff --git a/fs/read_write.c b/fs/read_write.c index f2ed9fdc98fd..c4f88afbc67f 100644 --- a/fs/read_write.c +++ b/fs/read_write.c | |||
| @@ -4,8 +4,9 @@ | |||
| 4 | * Copyright (C) 1991, 1992 Linus Torvalds | 4 | * Copyright (C) 1991, 1992 Linus Torvalds |
| 5 | */ | 5 | */ |
| 6 | 6 | ||
| 7 | #include <linux/slab.h> | 7 | #include <linux/slab.h> |
| 8 | #include <linux/stat.h> | 8 | #include <linux/stat.h> |
| 9 | #include <linux/sched/xacct.h> | ||
| 9 | #include <linux/fcntl.h> | 10 | #include <linux/fcntl.h> |
| 10 | #include <linux/file.h> | 11 | #include <linux/file.h> |
| 11 | #include <linux/uio.h> | 12 | #include <linux/uio.h> |
diff --git a/fs/select.c b/fs/select.c index 305c0daf5d67..e2112270d75a 100644 --- a/fs/select.c +++ b/fs/select.c | |||
| @@ -15,7 +15,8 @@ | |||
| 15 | */ | 15 | */ |
| 16 | 16 | ||
| 17 | #include <linux/kernel.h> | 17 | #include <linux/kernel.h> |
| 18 | #include <linux/sched.h> | 18 | #include <linux/sched/signal.h> |
| 19 | #include <linux/sched/rt.h> | ||
| 19 | #include <linux/syscalls.h> | 20 | #include <linux/syscalls.h> |
| 20 | #include <linux/export.h> | 21 | #include <linux/export.h> |
| 21 | #include <linux/slab.h> | 22 | #include <linux/slab.h> |
| @@ -26,7 +27,6 @@ | |||
| 26 | #include <linux/fs.h> | 27 | #include <linux/fs.h> |
| 27 | #include <linux/rcupdate.h> | 28 | #include <linux/rcupdate.h> |
| 28 | #include <linux/hrtimer.h> | 29 | #include <linux/hrtimer.h> |
| 29 | #include <linux/sched/rt.h> | ||
| 30 | #include <linux/freezer.h> | 30 | #include <linux/freezer.h> |
| 31 | #include <net/busy_poll.h> | 31 | #include <net/busy_poll.h> |
| 32 | #include <linux/vmalloc.h> | 32 | #include <linux/vmalloc.h> |
diff --git a/fs/splice.c b/fs/splice.c index eaafa3d8869a..006ba50f4ece 100644 --- a/fs/splice.c +++ b/fs/splice.c | |||
| @@ -33,6 +33,8 @@ | |||
| 33 | #include <linux/gfp.h> | 33 | #include <linux/gfp.h> |
| 34 | #include <linux/socket.h> | 34 | #include <linux/socket.h> |
| 35 | #include <linux/compat.h> | 35 | #include <linux/compat.h> |
| 36 | #include <linux/sched/signal.h> | ||
| 37 | |||
| 36 | #include "internal.h" | 38 | #include "internal.h" |
| 37 | 39 | ||
| 38 | /* | 40 | /* |
| @@ -12,6 +12,7 @@ | |||
| 12 | #include <linux/fs.h> | 12 | #include <linux/fs.h> |
| 13 | #include <linux/namei.h> | 13 | #include <linux/namei.h> |
| 14 | #include <linux/security.h> | 14 | #include <linux/security.h> |
| 15 | #include <linux/cred.h> | ||
| 15 | #include <linux/syscalls.h> | 16 | #include <linux/syscalls.h> |
| 16 | #include <linux/pagemap.h> | 17 | #include <linux/pagemap.h> |
| 17 | 18 | ||
diff --git a/fs/userfaultfd.c b/fs/userfaultfd.c index 3c421d06a18e..973607df579d 100644 --- a/fs/userfaultfd.c +++ b/fs/userfaultfd.c | |||
| @@ -14,7 +14,8 @@ | |||
| 14 | 14 | ||
| 15 | #include <linux/list.h> | 15 | #include <linux/list.h> |
| 16 | #include <linux/hashtable.h> | 16 | #include <linux/hashtable.h> |
| 17 | #include <linux/sched.h> | 17 | #include <linux/sched/signal.h> |
| 18 | #include <linux/sched/mm.h> | ||
| 18 | #include <linux/mm.h> | 19 | #include <linux/mm.h> |
| 19 | #include <linux/poll.h> | 20 | #include <linux/poll.h> |
| 20 | #include <linux/slab.h> | 21 | #include <linux/slab.h> |
diff --git a/fs/xfs/kmem.c b/fs/xfs/kmem.c index 339c696bbc01..2dfdc62f795e 100644 --- a/fs/xfs/kmem.c +++ b/fs/xfs/kmem.c | |||
| @@ -16,6 +16,7 @@ | |||
| 16 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | 16 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 17 | */ | 17 | */ |
| 18 | #include <linux/mm.h> | 18 | #include <linux/mm.h> |
| 19 | #include <linux/sched/mm.h> | ||
| 19 | #include <linux/highmem.h> | 20 | #include <linux/highmem.h> |
| 20 | #include <linux/slab.h> | 21 | #include <linux/slab.h> |
| 21 | #include <linux/swap.h> | 22 | #include <linux/swap.h> |
diff --git a/fs/xfs/xfs_buf.c b/fs/xfs/xfs_buf.c index 8c7d01b75922..b6208728ba39 100644 --- a/fs/xfs/xfs_buf.c +++ b/fs/xfs/xfs_buf.c | |||
| @@ -33,6 +33,7 @@ | |||
| 33 | #include <linux/migrate.h> | 33 | #include <linux/migrate.h> |
| 34 | #include <linux/backing-dev.h> | 34 | #include <linux/backing-dev.h> |
| 35 | #include <linux/freezer.h> | 35 | #include <linux/freezer.h> |
| 36 | #include <linux/sched/mm.h> | ||
| 36 | 37 | ||
| 37 | #include "xfs_format.h" | 38 | #include "xfs_format.h" |
| 38 | #include "xfs_log_format.h" | 39 | #include "xfs_log_format.h" |
diff --git a/fs/xfs/xfs_ioctl.c b/fs/xfs/xfs_ioctl.c index cf1363dbf32b..2fd7fdf5438f 100644 --- a/fs/xfs/xfs_ioctl.c +++ b/fs/xfs/xfs_ioctl.c | |||
| @@ -43,6 +43,7 @@ | |||
| 43 | #include "xfs_acl.h" | 43 | #include "xfs_acl.h" |
| 44 | 44 | ||
| 45 | #include <linux/capability.h> | 45 | #include <linux/capability.h> |
| 46 | #include <linux/cred.h> | ||
| 46 | #include <linux/dcache.h> | 47 | #include <linux/dcache.h> |
| 47 | #include <linux/mount.h> | 48 | #include <linux/mount.h> |
| 48 | #include <linux/namei.h> | 49 | #include <linux/namei.h> |
diff --git a/fs/xfs/xfs_linux.h b/fs/xfs/xfs_linux.h index 7a989de224f4..592fdf7111cb 100644 --- a/fs/xfs/xfs_linux.h +++ b/fs/xfs/xfs_linux.h | |||
| @@ -55,7 +55,7 @@ typedef __u32 xfs_nlink_t; | |||
| 55 | #include <linux/file.h> | 55 | #include <linux/file.h> |
| 56 | #include <linux/swap.h> | 56 | #include <linux/swap.h> |
| 57 | #include <linux/errno.h> | 57 | #include <linux/errno.h> |
| 58 | #include <linux/sched.h> | 58 | #include <linux/sched/signal.h> |
| 59 | #include <linux/bitops.h> | 59 | #include <linux/bitops.h> |
| 60 | #include <linux/major.h> | 60 | #include <linux/major.h> |
| 61 | #include <linux/pagemap.h> | 61 | #include <linux/pagemap.h> |
