projects
/
platform
/
upstream
/
btrfs-progs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8499af3
)
btrfs-progs: check, missing parens around compound block in find_normal_file_extent
author
David Sterba
<dsterba@suse.cz>
Tue, 30 Dec 2014 14:05:50 +0000
(15:05 +0100)
committer
David Sterba
<dsterba@suse.cz>
Tue, 30 Dec 2014 14:48:55 +0000
(15:48 +0100)
Resolves-coverity-id: 1260248
Signed-off-by: David Sterba <dsterba@suse.cz>
cmds-check.c
patch
|
blob
|
history
diff --git
a/cmds-check.c
b/cmds-check.c
index
71e4f4f
..
d2d218a
100644
(file)
--- a/
cmds-check.c
+++ b/
cmds-check.c
@@
-2160,9
+2160,10
@@
static int find_normal_file_extent(struct btrfs_root *root, u64 ino)
fi = btrfs_item_ptr(path->nodes[0], path->slots[0],
struct btrfs_file_extent_item);
type = btrfs_file_extent_type(path->nodes[0], fi);
- if (type != BTRFS_FILE_EXTENT_INLINE)
+ if (type != BTRFS_FILE_EXTENT_INLINE)
{
ret = 1;
goto out;
+ }
}
out:
btrfs_free_path(path);