Commit 4a4957c1 authored by Allison Henderson's avatar 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: default avatarDarrick J. Wong <djwong@kernel.org>
Signed-off-by: default avatarAllison Henderson <allison.henderson@oracle.com>
Reviewed-by: default avatarChandan Babu R <chandanrlinux@gmail.com>
Reviewed-by: default avatarDarrick J. Wong <djwong@kernel.org>
parent 4fd084db
...@@ -612,7 +612,7 @@ xfs_attr_set_iter( ...@@ -612,7 +612,7 @@ xfs_attr_set_iter(
error = xfs_attr_node_addname_clear_incomplete(dac); error = xfs_attr_node_addname_clear_incomplete(dac);
break; break;
default: default:
ASSERT(dac->dela_state != XFS_DAS_RM_SHRINK); ASSERT(0);
break; break;
} }
out: out:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment