summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLiu Bo <bo.li.liu@oracle.com>2016-11-30 16:20:25 -0800
committerDavid Sterba <dsterba@suse.com>2017-01-03 15:19:28 +0100
commit781feef7e6befafd4d9787d1f7ada1f9ccd504e4 (patch)
treee8f0da62b7c2971b2f73649cf665301aef2272b9 /include
parente321f8a801d7b4c40da8005257b05b9c2b51b072 (diff)
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 <fdmanana@suse.com> Signed-off-by: Liu Bo <bo.li.liu@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions