diff options
author | Frederic Weisbecker <[email protected]> | 2009-08-25 02:44:21 +0200 |
---|---|---|
committer | Frederic Weisbecker <[email protected]> | 2009-09-14 07:18:27 +0200 |
commit | b10ab4c337a600456ed2d9daea0331016f7cdeeb (patch) | |
tree | 6e85b1faea80835b5dcab78bf66d51b529711ada /tools/perf/scripts/python | |
parent | ae635c0bbd6c10aa62bf5149c6f41add59fbf4d2 (diff) |
kill-the-bkl/reiserfs: fix recursive reiserfs lock in reiserfs_mkdir()
reiserfs_mkdir() acquires the reiserfs lock, assuming it has been called
from the dir inodes callbacks, without the lock held.
But it can also be called from other internal sites such as
reiserfs_xattr_init() which already holds the lock. This recursive
locking leads to further wrong assumptions. For example, later calls
to reiserfs_mutex_lock_safe() won't actually unlock the reiserfs lock
the time we acquire a given mutex, creating unexpected lock inversions.
Signed-off-by: Frederic Weisbecker <[email protected]>
Cc: Jeff Mahoney <[email protected]>
Cc: Chris Mason <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Alexander Beregalov <[email protected]>
Cc: Laurent Riffard <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions