diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-08-28 12:15:25 +0200 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 17:04:07 +0200 |
commit | 639cb58675ce9b507eed9c3d6b3335488079b21a (patch) | |
tree | a299ab939050d2423ad318a699c91f2a51880c74 /fs/btrfs/file-item.c | |
parent | Btrfs: Throttle for async bio submits higher up the chain (diff) | |
download | linux-639cb58675ce9b507eed9c3d6b3335488079b21a.tar.xz linux-639cb58675ce9b507eed9c3d6b3335488079b21a.zip |
Btrfs: Fix variable init during csum creation
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to '')
-rw-r--r-- | fs/btrfs/file-item.c | 1 |
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: 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); |