diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2009-05-08 01:05:06 +0200 |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2009-09-14 07:18:17 +0200 |
commit | b1c839bb2d8d6f1f6bf48f5c657752b4963f88f8 (patch) | |
tree | 7396e1e56cfe544248d0e21374ab10f4edf6de3a /kernel/delayacct.c | |
parent | 26931309a47747fd31b2ef029c29d47794c2d93d (diff) | |
download | blackbird-op-linux-b1c839bb2d8d6f1f6bf48f5c657752b4963f88f8.tar.gz blackbird-op-linux-b1c839bb2d8d6f1f6bf48f5c657752b4963f88f8.zip |
kill-the-bkl/reiserfs: don't hold the write recursively in reiserfs_lookup()
The write lock can be acquired recursively in reiserfs_lookup(). But we may
want to *really* release the lock before possible rescheduling from a
reiserfs_lookup() callee.
Hence we want to only acquire the lock once (ie: not recursively).
[ Impact: prevent from possible false unreleased write lock on sleeping ]
Cc: Jeff Mahoney <jeffm@suse.com>
Cc: Chris Mason <chris.mason@oracle.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Diffstat (limited to 'kernel/delayacct.c')
0 files changed, 0 insertions, 0 deletions