commit | ddf23b3fc6850bd4654d51ec9457fe7c77cde51e | [log] [tgz] |
---|---|---|
author | Josef Bacik <josef@redhat.com> | Sun Sep 11 10:52:24 2011 -0400 |
committer | Chris Mason <chris.mason@oracle.com> | Sun Sep 11 10:52:24 2011 -0400 |
tree | 9f5fe8f71a2793b5f651ef6c535d9116b5094348 | |
parent | e0b6d65be57fb37ca67b04ce8964546a74d2125c [diff] |
Btrfs: skip locking if searching the commit root in csum lookup It's not enough to just search the commit root, since we could be cow'ing the very block we need to search through, which would mean that its locked and we'll still deadlock. So use path->skip_locking as well. Thanks, Signed-off-by: Josef Bacik <josef@redhat.com> Signed-off-by: Chris Mason <chris.mason@oracle.com>