diff options
| author | Liu Bo <[email protected]> | 2016-12-01 00:11:04 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2017-01-03 14:19:17 +0000 |
| commit | e321f8a801d7b4c40da8005257b05b9c2b51b072 (patch) | |
| tree | 11df9f784d72ca301b9bfca794fe70c9a0c43628 /lib/timerqueue.c | |
| parent | btrfs: fix locking when we put back a delayed ref that's too new (diff) | |
| download | kernel-e321f8a801d7b4c40da8005257b05b9c2b51b072.tar.gz kernel-e321f8a801d7b4c40da8005257b05b9c2b51b072.zip | |
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 <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions
