mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 00:51:35 +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
|
@ -302,7 +302,7 @@ int security_sb_statfs(struct dentry *dentry)
|
|||
return call_int_hook(sb_statfs, 0, 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)
|
||||
{
|
||||
return call_int_hook(sb_mount, 0, dev_name, path, type, flags, data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue