projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'asoc-fix-v4.2-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/brooni...
[firefly-linux-kernel-4.4.55.git]
/
security
/
apparmor
/
apparmorfs.c
diff --git
a/security/apparmor/apparmorfs.c
b/security/apparmor/apparmorfs.c
index 7db9954f1af2c56c42400746f367f5f4d9906ca8..ad4fa49ad1db23a70dfa16751a9c7f8ec006e854 100644
(file)
--- a/
security/apparmor/apparmorfs.c
+++ b/
security/apparmor/apparmorfs.c
@@
-365,7
+365,7
@@
void __aa_fs_profile_rmdir(struct aa_profile *profile)
if (!profile->dents[i])
continue;
- r =
profile->dents[i]->d_inode
->i_private;
+ r =
d_inode(profile->dents[i])
->i_private;
securityfs_remove(profile->dents[i]);
aa_put_replacedby(r);
profile->dents[i] = NULL;