commit | 639cb58675ce9b507eed9c3d6b3335488079b21a | [log] [tgz] |
---|---|---|
author | Chris Mason <chris.mason@oracle.com> | Thu Aug 28 06:15:25 2008 -0400 |
committer | Chris Mason <chris.mason@oracle.com> | Thu Sep 25 11:04:07 2008 -0400 |
tree | a299ab939050d2423ad318a699c91f2a51880c74 | |
parent | 9473f16c75606fe6b2e5000525fe9766114505f3 [diff] [blame] |
Btrfs: Fix variable init during csum creation Signed-off-by: Chris Mason <chris.mason@oracle.com>
diff --git a/fs/btrfs/file-item.c b/fs/btrfs/file-item.c index f861bd5..6dbe88b 100644 --- a/fs/btrfs/file-item.c +++ b/fs/btrfs/file-item.c
@@ -325,6 +325,7 @@ item = btrfs_lookup_csum(trans, root, path, objectid, offset, 1); if (!IS_ERR(item)) { leaf = path->nodes[0]; + ret = 0; goto found; } ret = PTR_ERR(item);