consitify do_mount() arguments

Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
Al Viro 2012-10-11 11:42:01 -04:00
commit 808d4e3cfd
10 changed files with 27 additions and 26 deletions

View file

@ -2452,9 +2452,9 @@ static int selinux_sb_statfs(struct dentry *dentry)
return superblock_has_perm(cred, dentry->d_sb, FILESYSTEM__GETATTR, &ad);
}
static int selinux_mount(char *dev_name,
static int selinux_mount(const char *dev_name,
struct path *path,
char *type,
const char *type,
unsigned long flags,
void *data)
{