diff options
| author | Harshad Shirwadkar <[email protected]> | 2021-12-01 16:34:21 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2022-01-10 18:25:55 +0000 |
| commit | c27c29c6af4f3f4ce925a2111c256733c5a5b430 (patch) | |
| tree | a4b6b74fa31230340084d2f7b9e01d0164c4277b /fs/ext4/fast_commit.c | |
| parent | ext4: fix a possible ABBA deadlock due to busy PA (diff) | |
| download | kernel-c27c29c6af4f3f4ce925a2111c256733c5a5b430.tar.gz kernel-c27c29c6af4f3f4ce925a2111c256733c5a5b430.zip | |
ext4: initialize err_blk before calling __ext4_get_inode_loc
It is not guaranteed that __ext4_get_inode_loc will definitely set
err_blk pointer when it returns EIO. To avoid using uninitialized
variables, let's first set err_blk to 0.
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Harshad Shirwadkar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Cc: [email protected]
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions
