History

ext4: initialize ret to suppress smatch warning

Theodore Ts'o committed 5 years ago

Commit 64395d91 parent 512c15e1 file · +1 −1Browse files

Unified · Split

fs/ext4/extents.c+1−1
@@ -4382,7 +4382,7 @@ static int ext4_alloc_file_blocks(struct file *file, ext4_lblk_t offset, · 4381 unmodified lines
4382{4382{
4383 struct inode *inode = file_inode(file);4383 struct inode *inode = file_inode(file);
4384 handle_t *handle;4384 handle_t *handle;
4385 int ret, ret2 = 0, ret3 = 0;4385 int ret = 0, ret2 = 0, ret3 = 0;
4386 int retries = 0;4386 int retries = 0;
4387 int depth = 0;4387 int depth = 0;
4388 struct ext4_map_blocks map;4388 struct ext4_map_blocks map;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t