提交 4a4957c1 编写于 作者: A Allison Henderson

xfs: Fix default ASSERT in xfs_attr_set_iter

This ASSERT checks for the state value of RM_SHRINK in the set path
which should never happen.  Change to ASSERT(0);
Suggested-by: NDarrick J. Wong <djwong@kernel.org>
Signed-off-by: NAllison Henderson <allison.henderson@oracle.com>
Reviewed-by: NChandan Babu R <chandanrlinux@gmail.com>
Reviewed-by: NDarrick J. Wong <djwong@kernel.org>
上级 4fd084db
......@@ -612,7 +612,7 @@ xfs_attr_set_iter(
error = xfs_attr_node_addname_clear_incomplete(dac);
break;
default:
ASSERT(dac->dela_state != XFS_DAS_RM_SHRINK);
ASSERT(0);
break;
}
out:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册