summaryrefslogtreecommitdiffstats
path: root/fs/fs_struct.c
diff options
context:
space:
mode:
authorAl Viro2009-03-30 01:50:06 +0200
committerAl Viro2009-04-01 05:00:27 +0200
commit5ad4e53bd5406ee214ddc5a41f03f779b8b2d526 (patch)
treeb3dab5140284b3edf02bf2b13f74bfddb25aa62a /fs/fs_struct.c
parentNew helper - current_umask() (diff)
downloadkernel-qcow2-linux-5ad4e53bd5406ee214ddc5a41f03f779b8b2d526.tar.gz
kernel-qcow2-linux-5ad4e53bd5406ee214ddc5a41f03f779b8b2d526.tar.xz
kernel-qcow2-linux-5ad4e53bd5406ee214ddc5a41f03f779b8b2d526.zip
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>
Diffstat (limited to 'fs/fs_struct.c')
-rw-r--r--fs/fs_struct.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/fs_struct.c b/fs/fs_struct.c
index 6ac219338670..eee059052db5 100644
--- a/fs/fs_struct.c
+++ b/fs/fs_struct.c
@@ -3,6 +3,7 @@
#include <linux/fs.h>
#include <linux/path.h>
#include <linux/slab.h>
+#include <linux/fs_struct.h>
/*
* Replace the fs->{rootmnt,root} with {mnt,dentry}. Put the old values.