xfs: remove the redundant crc feature check in xfs_attr3_rmt_verify
authorKaixu Xia <kaixuxia@tencent.com>
Thu, 17 Sep 2020 18:12:42 +0000 (11:12 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Fri, 25 Sep 2020 18:34:07 +0000 (11:34 -0700)
commit3feb4ffbf69321284dc78ac6ca43b4a2afadf243
tree471db1bf7a40c0671bddc5d55605df7e6a41b230
parenta647d109e08ac0961ca0fd511b013d962d256987
xfs: remove the redundant crc feature check in xfs_attr3_rmt_verify

We already check whether the crc feature is enabled before calling
xfs_attr3_rmt_verify(), so remove the redundant feature check in that
function.

Signed-off-by: Kaixu Xia <kaixuxia@tencent.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/libxfs/xfs_attr_remote.c