Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b84eee3
)
e2image: checking the retval for the last update_refcount() is unnecessary
author
Theodore Ts'o
<tytso@mit.edu>
Sun, 14 Aug 2022 03:46:06 +0000
(23:46 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Sun, 14 Aug 2022 03:46:06 +0000
(23:46 -0400)
Addresses-Coverity-Bug: 709478
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/e2image.c
patch
|
blob
|
history
diff --git
a/misc/e2image.c
b/misc/e2image.c
index
f9357aa
..
8b4c067
100644
(file)
--- a/
misc/e2image.c
+++ b/
misc/e2image.c
@@
-1263,7
+1263,7
@@
static void output_qcow2_meta_data_blocks(ext2_filsys fs, int fd)
offset += img->cluster_size;
}
}
- update_refcount(fd, img, offset, offset);
+
(void)
update_refcount(fd, img, offset, offset);
flush_l2_cache(img);
sync_refcount(fd, img);