diff options
Diffstat (limited to 'security/smack/smack_lsm.c')
-rw-r--r-- | security/smack/smack_lsm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/security/smack/smack_lsm.c b/security/smack/smack_lsm.c index 8ad48161cef5..1b5551dfc1f7 100644 --- a/security/smack/smack_lsm.c +++ b/security/smack/smack_lsm.c | |||
@@ -250,11 +250,12 @@ static int smack_sb_copy_data(char *orig, char *smackopts) | |||
250 | /** | 250 | /** |
251 | * smack_sb_kern_mount - Smack specific mount processing | 251 | * smack_sb_kern_mount - Smack specific mount processing |
252 | * @sb: the file system superblock | 252 | * @sb: the file system superblock |
253 | * @flags: the mount flags | ||
253 | * @data: the smack mount options | 254 | * @data: the smack mount options |
254 | * | 255 | * |
255 | * Returns 0 on success, an error code on failure | 256 | * Returns 0 on success, an error code on failure |
256 | */ | 257 | */ |
257 | static int smack_sb_kern_mount(struct super_block *sb, void *data) | 258 | static int smack_sb_kern_mount(struct super_block *sb, int flags, void *data) |
258 | { | 259 | { |
259 | struct dentry *root = sb->s_root; | 260 | struct dentry *root = sb->s_root; |
260 | struct inode *inode = root->d_inode; | 261 | struct inode *inode = root->d_inode; |