[PATCH for v4.9 LTS 35/87] Btrfs: fix lockdep warning about log_mutex

2017-07-14 Thread Levin, Alexander (Sasha Levin)
From: Liu Bo [ Upstream commit 781feef7e6befafd4d9787d1f7ada1f9ccd504e4 ] 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

[PATCH for v4.9 LTS 35/87] Btrfs: fix lockdep warning about log_mutex

2017-07-14 Thread Levin, Alexander (Sasha Levin)
From: Liu Bo [ Upstream commit 781feef7e6befafd4d9787d1f7ada1f9ccd504e4 ] 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