diff options
author | Theodore Ts'o <tytso@mit.edu> | 2021-03-21 07:45:37 +0300 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2021-03-21 07:45:37 +0300 |
commit | 64395d950bc476106b39341e42ebfd4d2eb71d2c (patch) | |
tree | ae3c8f192135909dd31d8d4b5c1a30361e779f90 /fs/ext4 | |
parent | 512c15ef05d73a04f1aef18a3bc61a8bb516f323 (diff) | |
download | linux-64395d950bc476106b39341e42ebfd4d2eb71d2c.tar.xz |
ext4: initialize ret to suppress smatch warning
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4')
-rw-r--r-- | fs/ext4/extents.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c index 77c7c8a54da7..77c84d6f1af6 100644 --- 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; |