Message ID | 1410818889-9080-1-git-send-email-kamal@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/fs/btrfs/file-item.c b/fs/btrfs/file-item.c index 6f38488..bb91764 100644 --- a/fs/btrfs/file-item.c +++ b/fs/btrfs/file-item.c @@ -755,7 +755,7 @@ again: found_next = 1; if (ret != 0) goto insert; - slot = 0; + slot = path->slots[0]; } btrfs_item_key_to_cpu(path->nodes[0], &found_key, slot); if (found_key.objectid != BTRFS_EXTENT_CSUM_OBJECTID ||