[ Sasha's backport helper bot ]
Hi,
The upstream commit SHA1 provided is correct: 2b99e410b28f5a75ae417e6389e767c7745d6fce
WARNING: Author mismatch between patch and upstream commit: Backport author: Leah Rumancikleah.rumancik@gmail.com Commit author: Cheng Lincheng.lin130@zte.com.cn
Status in newer kernel trees: 6.13.y | Present (exact SHA1) 6.12.y | Present (exact SHA1) 6.6.y | Present (different SHA1: 47b07e51d0c2) 6.1.y | Present (different SHA1: 85d34cba11ff)
Note: The patch differs from the upstream commit: --- 1: 2b99e410b28f5 ! 1: 9782c142297e3 xfs: introduce protection for drop nlink @@ Metadata ## Commit message ## xfs: introduce protection for drop nlink
+ [ Upstream commit 2b99e410b28f5a75ae417e6389e767c7745d6fce ] + When abnormal drop_nlink are detected on the inode, return error, to avoid corruption propagation.
Signed-off-by: Cheng Lin cheng.lin130@zte.com.cn Reviewed-by: "Darrick J. Wong" djwong@kernel.org Signed-off-by: Chandan Babu R chandanbabu@kernel.org + Signed-off-by: Leah Rumancik leah.rumancik@gmail.com
## fs/xfs/xfs_inode.c ## @@ fs/xfs/xfs_inode.c: xfs_droplink( ---
Results of testing on various branches:
| Branch | Patch Apply | Build Test | |---------------------------|-------------|------------| | stable/linux-6.1.y | Success | Success |