Commit feb30fe4 authored by Cheng Lin's avatar Cheng Lin Committed by Greg Kroah-Hartman
Browse files

xfs: introduce protection for drop nlink



[ Upstream commit 2b99e410 ]

When abnormal drop_nlink are detected on the inode,
return error, to avoid corruption propagation.

Signed-off-by: default avatarCheng Lin <cheng.lin130@zte.com.cn>
Reviewed-by: default avatar"Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: default avatarChandan Babu R <chandanbabu@kernel.org>
Signed-off-by: default avatarLeah Rumancik <leah.rumancik@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4d607041
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment