]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: remove useless resetting io_end_size in mpage_process_page()
authorNghia Le <nghialm78@gmail.com>
Mon, 25 Oct 2021 22:18:03 +0000 (05:18 +0700)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 10 Jan 2022 18:25:55 +0000 (13:25 -0500)
commitbc23c4fa0d4a406b17b3ee60fe24990cb0f560b9
tree80cd7ad39173659790b8c72ba3f54ca7df4a493c
parenteb2499a146d0bd346ec5fe5b0b19e418d19b2f20
ext4: remove useless resetting io_end_size in mpage_process_page()

The command "make clang-analyzer" detects dead stores in
mpage_process_page() function.

Do not reset io_end_size to 0 in the current paths, as the function
exits on those paths without further using io_end_size.

Signed-off-by: Nghia Le <nghialm78@gmail.com>
Link: https://lore.kernel.org/r/20211025221803.3326-1-nghialm78@gmail.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/inode.c