diff options
author | Frederic Weisbecker <[email protected]> | 2010-11-24 12:57:15 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2010-11-25 06:50:48 +0900 |
commit | da905873effecd1c0166e578bc4b5006f041b18b (patch) | |
tree | ba6e699a028ce1e0625a01a3e6f82d83dad04aca /tools/perf/scripts/python/syscall-counts.py | |
parent | d1d73578e053b981c3611e5a211534290d24a5eb (diff) |
reiserfs: fix inode mutex - reiserfs lock misordering
reiserfs_unpack() locks the inode mutex with reiserfs_mutex_lock_safe()
to protect against reiserfs lock dependency. However this protection
requires to have the reiserfs lock to be locked.
This is the case if reiserfs_unpack() is called by reiserfs_ioctl but
not from reiserfs_quota_on() when it tries to unpack tails of quota
files.
Fix the ordering of the two locks in reiserfs_unpack() to fix this
issue.
Signed-off-by: Frederic Weisbecker <[email protected]>
Reported-by: Markus Gapp <[email protected]>
Reported-by: Jan Kara <[email protected]>
Cc: Jeff Mahoney <[email protected]>
Cc: <[email protected]> [2.6.36.x]
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions