File tree Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Original file line number Diff line number Diff line change 11
11
#define _LINUX_MOUNT_H
12
12
13
13
#include <linux/types.h>
14
- #include <linux/list.h>
15
- #include <linux/nodemask.h>
16
- #include <linux/spinlock.h>
17
- #include <linux/seqlock.h>
18
- #include <linux/atomic.h>
14
+ #include <asm/barrier.h>
19
15
20
16
struct super_block ;
21
- struct vfsmount ;
22
17
struct dentry ;
23
- struct mnt_namespace ;
18
+ struct user_namespace ;
19
+ struct file_system_type ;
24
20
struct fs_context ;
21
+ struct file ;
22
+ struct path ;
25
23
26
24
#define MNT_NOSUID 0x01
27
25
#define MNT_NODEV 0x02
@@ -81,9 +79,6 @@ static inline struct user_namespace *mnt_user_ns(const struct vfsmount *mnt)
81
79
return smp_load_acquire (& mnt -> mnt_userns );
82
80
}
83
81
84
- struct file ; /* forward dec */
85
- struct path ;
86
-
87
82
extern int mnt_want_write (struct vfsmount * mnt );
88
83
extern int mnt_want_write_file (struct file * file );
89
84
extern void mnt_drop_write (struct vfsmount * mnt );
@@ -94,12 +89,10 @@ extern struct vfsmount *mnt_clone_internal(const struct path *path);
94
89
extern bool __mnt_is_readonly (struct vfsmount * mnt );
95
90
extern bool mnt_may_suid (struct vfsmount * mnt );
96
91
97
- struct path ;
98
92
extern struct vfsmount * clone_private_mount (const struct path * path );
99
93
extern int __mnt_want_write (struct vfsmount * );
100
94
extern void __mnt_drop_write (struct vfsmount * );
101
95
102
- struct file_system_type ;
103
96
extern struct vfsmount * fc_mount (struct fs_context * fc );
104
97
extern struct vfsmount * vfs_create_mount (struct fs_context * fc );
105
98
extern struct vfsmount * vfs_kern_mount (struct file_system_type * type ,
You can’t perform that action at this time.
0 commit comments