summaryrefslogtreecommitdiff
path: root/include/linux/mnt_namespace.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2009-03-29 19:50:06 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2009-03-31 23:00:27 -0400
commit5ad4e53bd5406ee214ddc5a41f03f779b8b2d526 (patch)
treeb3dab5140284b3edf02bf2b13f74bfddb25aa62a /include/linux/mnt_namespace.h
parentce3b0f8d5c2203301fc87f3aaaed73e5819e2a48 (diff)
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 'include/linux/mnt_namespace.h')
-rw-r--r--include/linux/mnt_namespace.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mnt_namespace.h b/include/linux/mnt_namespace.h
index 830bbcd449d6..3a059298cc19 100644
--- a/include/linux/mnt_namespace.h
+++ b/include/linux/mnt_namespace.h
@@ -22,6 +22,8 @@ struct proc_mounts {
int event;
};
+struct fs_struct;
+
extern struct mnt_namespace *copy_mnt_ns(unsigned long, struct mnt_namespace *,
struct fs_struct *);
extern void __put_mnt_ns(struct mnt_namespace *ns);