consitify do_mount() arguments
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -74,8 +74,8 @@ static int cap_sb_statfs(struct dentry *dentry)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int cap_sb_mount(char *dev_name, struct path *path, char *type,
|
||||
unsigned long flags, void *data)
|
||||
static int cap_sb_mount(const char *dev_name, struct path *path,
|
||||
const char *type, unsigned long flags, void *data)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user