projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
512c15e
)
ext4: initialize ret to suppress smatch warning
author
Theodore Ts'o
<tytso@mit.edu>
Sun, 21 Mar 2021 04:45:37 +0000
(
00:45
-0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Sun, 21 Mar 2021 04:45:37 +0000
(
00:45
-0400)
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/extents.c
patch
|
blob
|
history
diff --git
a/fs/ext4/extents.c
b/fs/ext4/extents.c
index 77c7c8a54da7371adc67e66287e6ddf68745fe2d..77c84d6f1af6b2489aa196e845f3b0b1a6060e83 100644
(file)
--- a/
fs/ext4/extents.c
+++ b/
fs/ext4/extents.c
@@
-4382,7
+4382,7
@@
static int ext4_alloc_file_blocks(struct file *file, ext4_lblk_t offset,
{
struct inode *inode = file_inode(file);
handle_t *handle;
- int ret, ret2 = 0, ret3 = 0;
+ int ret
= 0
, ret2 = 0, ret3 = 0;
int retries = 0;
int depth = 0;
struct ext4_map_blocks map;