projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9473f16
)
Btrfs: Fix variable init during csum creation
author
Chris Mason
<chris.mason@oracle.com>
Thu, 28 Aug 2008 10:15:25 +0000
(06:15 -0400)
committer
Chris Mason
<chris.mason@oracle.com>
Thu, 25 Sep 2008 15:04:07 +0000
(11:04 -0400)
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/file-item.c
patch
|
blob
|
history
diff --git
a/fs/btrfs/file-item.c
b/fs/btrfs/file-item.c
index f861bd506928486781e4ee7b1895bbae7d1c151a..6dbe88b9d7d43c2707bb6be2d270bb9eb3b4d50f 100644
(file)
--- a/
fs/btrfs/file-item.c
+++ b/
fs/btrfs/file-item.c
@@
-325,6
+325,7
@@
again:
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);