[PATCH 0/4] kill-the-bkl/reiserfs: fix some lock dependency inversions

From: Frederic Weisbecker
Date: Mon Aug 24 2009 - 22:33:05 EST


Hi,

This small set fixes some lock dependency inversions found in reiserfs
xattr and mmap paths.
I guess there are still some of them that I'll have to hunt, especially one
reported by Laurent Riffard and another one introduced by the reiserfs_readdir
path optimization (though I'm not sure about the latter, I have yet to find a
way to reproduce it properly).

As usual, these patches can be found at:

git://git.kernel.org/pub/scm/linux/kernel/git/frederic/random-tracing.git \
reiserfs/kill-bkl

Thanks,
Frederic.

Frederic Weisbecker (4):
kill-the-bkl/reiserfs: fix "reiserfs lock" / "inode mutex" lock
inversion dependency
kill-the-bkl/reiserfs: fix recursive reiserfs lock in
reiserfs_mkdir()
kill-the-bkl/reiserfs: fix recursive reiserfs write lock in
reiserfs_commit_write()
kill-the-bkl/reiserfs: panic in case of lock imbalance

fs/reiserfs/inode.c | 11 ++---------
fs/reiserfs/lock.c | 7 +++----
fs/reiserfs/namei.c | 7 ++++---
fs/reiserfs/xattr.c | 2 +-
4 files changed, 10 insertions(+), 17 deletions(-)


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/