diff options
| author | Liu Bo <[email protected]> | 2016-12-01 00:20:25 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2017-01-03 14:19:28 +0000 |
| commit | 781feef7e6befafd4d9787d1f7ada1f9ccd504e4 (patch) | |
| tree | e8f0da62b7c2971b2f73649cf665301aef2272b9 /lib/timerqueue.c | |
| parent | Btrfs: use down_read_nested to make lockdep silent (diff) | |
| download | kernel-781feef7e6befafd4d9787d1f7ada1f9ccd504e4.tar.gz kernel-781feef7e6befafd4d9787d1f7ada1f9ccd504e4.zip | |
Btrfs: fix lockdep warning about log_mutex
While checking INODE_REF/INODE_EXTREF for a corner case, we may acquire a
different inode's log_mutex with holding the current inode's log_mutex, and
lockdep has complained this with a possilble deadlock warning.
Fix this by using mutex_lock_nested() when processing the other inode's
log_mutex.
Reviewed-by: Filipe Manana <[email protected]>
Signed-off-by: Liu Bo <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions
