[PATCH openEuler-5.10 18/81] xfs: Fix the free logic of state in xfs_attr_node_hasname