Get rid of indirect include of fs_struct.h
Don't pull it in sched.h; very few files actually need it and those can include directly. sched.h itself only needs forward declaration of struct fs_struct; Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
ce3b0f8d5c
commit
5ad4e53bd5
19 changed files with 20 additions and 2 deletions
|
|
@ -68,7 +68,7 @@ struct sched_param {
|
|||
#include <linux/smp.h>
|
||||
#include <linux/sem.h>
|
||||
#include <linux/signal.h>
|
||||
#include <linux/fs_struct.h>
|
||||
#include <linux/path.h>
|
||||
#include <linux/compiler.h>
|
||||
#include <linux/completion.h>
|
||||
#include <linux/pid.h>
|
||||
|
|
@ -97,6 +97,7 @@ struct futex_pi_state;
|
|||
struct robust_list_head;
|
||||
struct bio;
|
||||
struct bts_tracer;
|
||||
struct fs_struct;
|
||||
|
||||
/*
|
||||
* List of flags we want to share for kernel threads,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue