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;
···33#include <linux/fs.h>44#include <linux/path.h>55#include <linux/slab.h>66+#include <linux/fs_struct.h>6778/*89 * Replace the fs->{rootmnt,root} with {mnt,dentry}. Put the old values.
···88struct uts_namespace;99struct ipc_namespace;1010struct pid_namespace;1111+struct fs_struct;11121213/*1314 * A structure to contain pointers to all per-process
+2-1
include/linux/sched.h
···6868#include <linux/smp.h>6969#include <linux/sem.h>7070#include <linux/signal.h>7171-#include <linux/fs_struct.h>7171+#include <linux/path.h>7272#include <linux/compiler.h>7373#include <linux/completion.h>7474#include <linux/pid.h>···9797struct robust_list_head;9898struct bio;9999struct bts_tracer;100100+struct fs_struct;100101101102/*102103 * List of flags we want to share for kernel threads,