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
70f8d9c5
Commit
70f8d9c5
authored
Mar 02, 2022
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move mount-related externs from fs.h to mount.h
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
279b192c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
11 deletions
+14
-11
arch/alpha/kernel/osf_sys.c
arch/alpha/kernel/osf_sys.c
+1
-0
include/linux/fs.h
include/linux/fs.h
+0
-11
include/linux/mount.h
include/linux/mount.h
+12
-0
security/smack/smackfs.c
security/smack/smackfs.c
+1
-0
No files found.
arch/alpha/kernel/osf_sys.c
View file @
70f8d9c5
...
...
@@ -36,6 +36,7 @@
#include <linux/types.h>
#include <linux/ipc.h>
#include <linux/namei.h>
#include <linux/mount.h>
#include <linux/uio.h>
#include <linux/vfs.h>
#include <linux/rcupdate.h>
...
...
include/linux/fs.h
View file @
70f8d9c5
...
...
@@ -2461,22 +2461,11 @@ struct super_block *sget(struct file_system_type *type,
extern
int
register_filesystem
(
struct
file_system_type
*
);
extern
int
unregister_filesystem
(
struct
file_system_type
*
);
extern
struct
vfsmount
*
kern_mount
(
struct
file_system_type
*
);
extern
void
kern_unmount
(
struct
vfsmount
*
mnt
);
extern
int
may_umount_tree
(
struct
vfsmount
*
);
extern
int
may_umount
(
struct
vfsmount
*
);
extern
long
do_mount
(
const
char
*
,
const
char
__user
*
,
const
char
*
,
unsigned
long
,
void
*
);
extern
struct
vfsmount
*
collect_mounts
(
const
struct
path
*
);
extern
void
drop_collected_mounts
(
struct
vfsmount
*
);
extern
int
iterate_mounts
(
int
(
*
)(
struct
vfsmount
*
,
void
*
),
void
*
,
struct
vfsmount
*
);
extern
int
vfs_statfs
(
const
struct
path
*
,
struct
kstatfs
*
);
extern
int
user_statfs
(
const
char
__user
*
,
struct
kstatfs
*
);
extern
int
fd_statfs
(
int
,
struct
kstatfs
*
);
extern
int
freeze_super
(
struct
super_block
*
super
);
extern
int
thaw_super
(
struct
super_block
*
super
);
extern
bool
our_mnt
(
struct
vfsmount
*
mnt
);
extern
__printf
(
2
,
3
)
int
super_setup_bdi_name
(
struct
super_block
*
sb
,
char
*
fmt
,
...);
extern
int
super_setup_bdi
(
struct
super_block
*
sb
);
...
...
include/linux/mount.h
View file @
70f8d9c5
...
...
@@ -108,6 +108,18 @@ extern void mark_mounts_for_expiry(struct list_head *mounts);
extern
dev_t
name_to_dev_t
(
const
char
*
name
);
extern
bool
path_is_mountpoint
(
const
struct
path
*
path
);
extern
bool
our_mnt
(
struct
vfsmount
*
mnt
);
extern
struct
vfsmount
*
kern_mount
(
struct
file_system_type
*
);
extern
void
kern_unmount
(
struct
vfsmount
*
mnt
);
extern
int
may_umount_tree
(
struct
vfsmount
*
);
extern
int
may_umount
(
struct
vfsmount
*
);
extern
long
do_mount
(
const
char
*
,
const
char
__user
*
,
const
char
*
,
unsigned
long
,
void
*
);
extern
struct
vfsmount
*
collect_mounts
(
const
struct
path
*
);
extern
void
drop_collected_mounts
(
struct
vfsmount
*
);
extern
int
iterate_mounts
(
int
(
*
)(
struct
vfsmount
*
,
void
*
),
void
*
,
struct
vfsmount
*
);
extern
void
kern_unmount_array
(
struct
vfsmount
*
mnt
[],
unsigned
int
num
);
#endif
/* _LINUX_MOUNT_H */
security/smack/smackfs.c
View file @
70f8d9c5
...
...
@@ -23,6 +23,7 @@
#include <linux/ctype.h>
#include <linux/audit.h>
#include <linux/magic.h>
#include <linux/mount.h>
#include <linux/fs_context.h>
#include "smack.h"
...
...
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