Btrfs: Fix variable init during csum creation
Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
parent
9473f16c75
commit
639cb58675
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue