Message ID | 20100114193708.GD23810@think (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c index 3bfe9f0..1148aa0 100644 --- a/fs/btrfs/file.c +++ b/fs/btrfs/file.c @@ -572,6 +572,7 @@ again: key.objectid = inode->i_ino; key.type = BTRFS_EXTENT_DATA_KEY; key.offset = split; + path->keep_locks = 1; ret = btrfs_search_slot(trans, root, &key, path, -1, 1); if (ret > 0 && path->slots[0] > 0)