[PATCH openEuler-5.10-LTS 050/141] xfs: Fix the free logic of state in xfs_attr_node_hasname