mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 06:41:39 +00:00
constify security_sb_mount()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
7fd25dac9a
commit
8a04c43b87
5 changed files with 6 additions and 6 deletions
|
@ -222,7 +222,7 @@ int security_sb_remount(struct super_block *sb, void *data);
|
|||
int security_sb_kern_mount(struct super_block *sb, int flags, void *data);
|
||||
int security_sb_show_options(struct seq_file *m, struct super_block *sb);
|
||||
int security_sb_statfs(struct dentry *dentry);
|
||||
int security_sb_mount(const char *dev_name, struct path *path,
|
||||
int security_sb_mount(const char *dev_name, const struct path *path,
|
||||
const char *type, unsigned long flags, void *data);
|
||||
int security_sb_umount(struct vfsmount *mnt, int flags);
|
||||
int security_sb_pivotroot(struct path *old_path, struct path *new_path);
|
||||
|
@ -530,7 +530,7 @@ static inline int security_sb_statfs(struct dentry *dentry)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static inline int security_sb_mount(const char *dev_name, struct path *path,
|
||||
static inline int security_sb_mount(const char *dev_name, const struct path *path,
|
||||
const char *type, unsigned long flags,
|
||||
void *data)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue