Chris, since my bug report about this did not result in any fix and since this disables lockdep before the the code that I want to debug runs here is my attempt to fix it. Please double check if the subclass looks right. It seems to work for me but I do not know enough about btrfs to decide if this is right or not.
Christian Borntraeger (): btrfs: add lockdep annotation for btrfs_log_inode fs/btrfs/tree-log.c | 2 +- -- 2.7.4