diff options
Diffstat (limited to 'security/selinux/hooks.c')
-rw-r--r-- | security/selinux/hooks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index 912deee3f01e..889cd59ca5a7 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c | |||
@@ -1316,7 +1316,7 @@ static int selinux_genfs_get_sid(struct dentry *dentry, | |||
1316 | u32 *sid) | 1316 | u32 *sid) |
1317 | { | 1317 | { |
1318 | int rc; | 1318 | int rc; |
1319 | struct super_block *sb = dentry->d_inode->i_sb; | 1319 | struct super_block *sb = dentry->d_sb; |
1320 | char *buffer, *path; | 1320 | char *buffer, *path; |
1321 | 1321 | ||
1322 | buffer = (char *)__get_free_page(GFP_KERNEL); | 1322 | buffer = (char *)__get_free_page(GFP_KERNEL); |