Hi Martin,

Please try following patch. Thank you,

---
diff -urp 2/fs/btrfs/file.c 5/fs/btrfs/file.c
--- 2/fs/btrfs/file.c   2008-11-11 10:43:08.000000000 +0800
+++ 5/fs/btrfs/file.c   2008-11-11 16:52:11.000000000 +0800
@@ -436,7 +436,7 @@ next_slot:
                        goto out;
                }
                if (recow) {
-                       search_start = key.offset;
+                       search_start = max(key.offset, start);
                        continue;
                }
                if (btrfs_key_type(&key) == BTRFS_EXTENT_DATA_KEY) {
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to