commit | e321f8a801d7b4c40da8005257b05b9c2b51b072 | [log] [tgz] |
---|---|---|
author | Liu Bo <bo.li.liu@oracle.com> | Wed Nov 30 16:11:04 2016 -0800 |
committer | David Sterba <dsterba@suse.com> | Tue Jan 03 15:19:17 2017 +0100 |
tree | 11df9f784d72ca301b9bfca794fe70c9a0c43628 | |
parent | d0280996437081dd12ed1e982ac8aeaa62835ec4 [diff] |
Btrfs: use down_read_nested to make lockdep silent If @block_group is not @used_bg, it'll try to get @used_bg's lock without droping @block_group 's lock and lockdep has throwed a scary deadlock warning about it. Fix it by using down_read_nested. Signed-off-by: Liu Bo <bo.li.liu@oracle.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>