From: Chris Mason Date: Tue, 26 Jul 2011 20:11:19 +0000 (-0400) Subject: Btrfs: make a lockdep class for each root X-Git-Tag: v3.1-rc1~134^2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85d4e461117b40eb10722f774566b19bd5e77879;p=pandora-kernel.git Btrfs: make a lockdep class for each root This patch was originally from Tejun Heo. lockdep complains about the btrfs locking because we sometimes take btree locks from two different trees at the same time. The current classes are based only on level in the btree, which isn't enough information for lockdep to figure out if the lock is safe. This patch makes a class for each type of tree, and lumps all the FS trees that actually have files and directories into the same class. Signed-off-by: Chris Mason --- Reading git-diff-tree failed