mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
Merge branch 'stable-3.18' of git://git.infradead.org/users/pcmoore/selinux into for-linus2
This commit is contained in:
commit
9b32011acd
1 file changed
+1
-1
@@ -481,6 +481,7 @@ next_inode:
|
||||
list_entry(sbsec->isec_head.next,
|
||||
struct inode_security_struct, list);
|
||||
struct inode *inode = isec->inode;
|
||||
list_del_init(&isec->list);
|
||||
spin_unlock(&sbsec->isec_lock);
|
||||
inode = igrab(inode);
|
||||
if (inode) {
|
||||
@@ -489,7 +490,6 @@ next_inode:
|
||||
iput(inode);
|
||||
}
|
||||
spin_lock(&sbsec->isec_lock);
|
||||
list_del_init(&isec->list);
|
||||
goto next_inode;
|
||||
}
|
||||
spin_unlock(&sbsec->isec_lock);
|
||||
|
||||
Reference in new issue
Block a user