[PATCH v3 3/5] xfs: Fix the free logic of state in xfs_attr_node_hasname