Commit 749c4bff authored by Mateusz Guzik's avatar Mateusz Guzik Committed by Treehugger Robot
Browse files

UPSTREAM: f2fs: don't call iput() from f2fs_drop_inode()



iput() calls the problematic routine, which does a ->i_count inc/dec
cycle. Undoing it with iput() recurses into the problem.

Note f2fs should not be playing games with the refcount to begin with,
but that will be handled later. Right now solve the immediate
regression.

Fixes: bc986b1d ("fs: stop accessing ->i_count directly in f2fs and gfs2")
Reported-by: default avatarkernel test robot <oliver.sang@intel.com>
Closes: https://lore.kernel.org/oe-lkp/202509301450.138b448f-lkp@intel.com


Signed-off-by: default avatarMateusz Guzik <mjguzik@gmail.com>
Reviewed-by: default avatarChao Yu <chao@kernel.org>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>

Bug: 455430416
Change-Id: I317bdba5ef892c74511f056071a2e9d1ef2a5626
(cherry picked from commit 1ee889fd)
Signed-off-by: default avatarYongqin Liu <yongqin.liu@linaro.org>
parent 5dfb67da
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment