Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
59df85d5
Commit
59df85d5
authored
Mar 01, 2022
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
linux/mount.h: trim includes
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
a5f85d78
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
12 deletions
+5
-12
include/linux/mount.h
include/linux/mount.h
+5
-12
No files found.
include/linux/mount.h
View file @
59df85d5
...
...
@@ -11,17 +11,15 @@
#define _LINUX_MOUNT_H
#include <linux/types.h>
#include <linux/list.h>
#include <linux/nodemask.h>
#include <linux/spinlock.h>
#include <linux/seqlock.h>
#include <linux/atomic.h>
#include <asm/barrier.h>
struct
super_block
;
struct
vfsmount
;
struct
dentry
;
struct
mnt_namespace
;
struct
user_namespace
;
struct
file_system_type
;
struct
fs_context
;
struct
file
;
struct
path
;
#define MNT_NOSUID 0x01
#define MNT_NODEV 0x02
...
...
@@ -81,9 +79,6 @@ static inline struct user_namespace *mnt_user_ns(const struct vfsmount *mnt)
return
smp_load_acquire
(
&
mnt
->
mnt_userns
);
}
struct
file
;
/* forward dec */
struct
path
;
extern
int
mnt_want_write
(
struct
vfsmount
*
mnt
);
extern
int
mnt_want_write_file
(
struct
file
*
file
);
extern
void
mnt_drop_write
(
struct
vfsmount
*
mnt
);
...
...
@@ -94,12 +89,10 @@ extern struct vfsmount *mnt_clone_internal(const struct path *path);
extern
bool
__mnt_is_readonly
(
struct
vfsmount
*
mnt
);
extern
bool
mnt_may_suid
(
struct
vfsmount
*
mnt
);
struct
path
;
extern
struct
vfsmount
*
clone_private_mount
(
const
struct
path
*
path
);
extern
int
__mnt_want_write
(
struct
vfsmount
*
);
extern
void
__mnt_drop_write
(
struct
vfsmount
*
);
struct
file_system_type
;
extern
struct
vfsmount
*
fc_mount
(
struct
fs_context
*
fc
);
extern
struct
vfsmount
*
vfs_create_mount
(
struct
fs_context
*
fc
);
extern
struct
vfsmount
*
vfs_kern_mount
(
struct
file_system_type
*
type
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment