f2fs: Fix f2fs_truncate_partial_nodes ftrace event
stable inclusion from stable-v5.10.179 commit 37882b203a2d206cfab4fb9e1ade4374d0db0540 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I8C809 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=37882b203a2d206cfab4fb9e1ade4374d0db0540 -------------------------------- [ Upstream commit 0b04d4c0 ] Fix the nid_t field so that its size is correctly reported in the text format embedded in trace.dat files. As it stands, it is reported as being of size 4: field:nid_t nid[3]; offset:24; size:4; signed:0; Instead of 12: field:nid_t nid[3]; offset:24; size:12; signed:0; This also fixes the reported offset of subsequent fields so that they match with the actual struct layout. Signed-off-by:Douglas Raillard <douglas.raillard@arm.com> Reviewed-by:
Mukesh Ojha <quic_mojha@quicinc.com> Reviewed-by:
Chao Yu <chao@kernel.org> Signed-off-by:
Jaegeuk Kim <jaegeuk@kernel.org> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com> (cherry picked from commit a807ae08)
Loading
Please sign in to comment