diff options
Diffstat (limited to 'security/smack/smack_lsm.c')
-rw-r--r-- | security/smack/smack_lsm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/smack/smack_lsm.c b/security/smack/smack_lsm.c index 2874c7316783..38be92ce901e 100644 --- a/security/smack/smack_lsm.c +++ b/security/smack/smack_lsm.c | |||
@@ -408,8 +408,8 @@ static int smack_sb_statfs(struct dentry *dentry) | |||
408 | * Returns 0 if current can write the floor of the filesystem | 408 | * Returns 0 if current can write the floor of the filesystem |
409 | * being mounted on, an error code otherwise. | 409 | * being mounted on, an error code otherwise. |
410 | */ | 410 | */ |
411 | static int smack_sb_mount(char *dev_name, struct path *path, | 411 | static int smack_sb_mount(const char *dev_name, struct path *path, |
412 | char *type, unsigned long flags, void *data) | 412 | const char *type, unsigned long flags, void *data) |
413 | { | 413 | { |
414 | struct superblock_smack *sbp = path->dentry->d_sb->s_security; | 414 | struct superblock_smack *sbp = path->dentry->d_sb->s_security; |
415 | struct smk_audit_info ad; | 415 | struct smk_audit_info ad; |