git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23e964c
)
fsnotify: take groups mark_lock before mark lock
author
Lino Sanfilippo
<LinoSanfilippo@gmx.de>
Tue, 14 Jun 2011 15:29:48 +0000
(17:29 +0200)
committer
Eric Paris
<eparis@redhat.com>
Tue, 11 Dec 2012 18:29:45 +0000
(13:29 -0500)
Race-free addition and removal of a mark to a groups mark list would be easier
if we could lock the mark list of group before we lock the specific mark.
This patch changes the order used to add/remove marks to/from mark lists from
1. mark->lock
2. group->mark_lock
3. inode->i_lock
to
1. group->mark_lock
2. mark->lock
3. inode->i_lock
Signed-off-by: Lino Sanfilippo <LinoSanfilippo@gmx.de>
Signed-off-by: Eric Paris <eparis@redhat.com>
fs/notify/mark.c
patch
|
blob
|
history
diff --cc
fs/notify/mark.c
Simple merge