From: Frederic Weisbecker Date: Thu, 30 Apr 2009 23:44:57 +0000 (+0200) Subject: kill-the-BKL/reiserfs: release the write lock inside reiserfs_read_bitmap_block() X-Git-Tag: v2.6.33-rc1~360^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c5eface5d0e4eb7f77be346193c2850e7e3b983;p=pandora-kernel.git kill-the-BKL/reiserfs: release the write lock inside reiserfs_read_bitmap_block() reiserfs_read_bitmap_block() uses sb_bread() to read the bitmap block. This helper might sleep. Then, when the bkl was used, it was released at this point. We can then relax the write lock too here. [ Impact: release the reiserfs write lock when it is not needed ] Cc: Jeff Mahoney Cc: Chris Mason Cc: Alexander Beregalov Signed-off-by: Frederic Weisbecker --- Reading git-diff-tree failed