From: Frederic Weisbecker Date: Wed, 30 Dec 2009 02:20:19 +0000 (+0100) Subject: reiserfs: Warn on lock relax if taken recursively X-Git-Tag: v2.6.33-rc3~16^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4a62ca362258d98f42efb282cfbf9b61caffdbe;p=pandora-kernel.git reiserfs: Warn on lock relax if taken recursively When we relax the reiserfs lock to avoid creating unwanted dependencies against others locks while grabbing these, we want to ensure it has not been taken recursively, otherwise the lock won't be really relaxed. Only its depth will be decreased. The unwanted dependency would then actually happen. To prevent from that, add a reiserfs_lock_check_recursive() call in the places that need it. Signed-off-by: Frederic Weisbecker Cc: Alexander Beregalov Cc: Chris Mason Cc: Ingo Molnar --- Reading git-diff-tree failed