aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/file-item.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-08-28 06:15:25 -0400
committerChris Mason <chris.mason@oracle.com>2008-09-25 11:04:07 -0400
commit639cb58675ce9b507eed9c3d6b3335488079b21a (patch)
treea299ab939050d2423ad318a699c91f2a51880c74 /fs/btrfs/file-item.c
parent9473f16c75606fe6b2e5000525fe9766114505f3 (diff)
Btrfs: Fix variable init during csum creation
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/file-item.c')
-rw-r--r--fs/btrfs/file-item.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/file-item.c b/fs/btrfs/file-item.c
index f861bd506928..6dbe88b9d7d4 100644
--- a/fs/btrfs/file-item.c
+++ b/fs/btrfs/file-item.c
@@ -325,6 +325,7 @@ again:
325 item = btrfs_lookup_csum(trans, root, path, objectid, offset, 1); 325 item = btrfs_lookup_csum(trans, root, path, objectid, offset, 1);
326 if (!IS_ERR(item)) { 326 if (!IS_ERR(item)) {
327 leaf = path->nodes[0]; 327 leaf = path->nodes[0];
328 ret = 0;
328 goto found; 329 goto found;
329 } 330 }
330 ret = PTR_ERR(item); 331 ret = PTR_ERR(item);