Skip to content
Commit bba2a0ba authored by Chao Yu's avatar Chao Yu Committed by Sasha Levin
Browse files

f2fs: update blkaddr in __set_data_blkaddr() for cleanup



[ Upstream commit 59d0d4c3 ]

This patch allows caller to pass blkaddr to f2fs_set_data_blkaddr()
and let __set_data_blkaddr() inside f2fs_set_data_blkaddr() to update
dn->data_blkaddr w/ last value of blkaddr.

Just cleanup, no logic changes.

Signed-off-by: default avatarChao Yu <chao@kernel.org>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
Stable-dep-of: 54607494 ("f2fs: compress: fix to avoid inconsistence bewteen i_blocks and dnode")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent ebe3a9f3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment