]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: remove the redundant crc feature check in xfs_attr3_rmt_verify
authorKaixu Xia <kaixuxia@tencent.com>
Thu, 12 Nov 2020 22:20:38 +0000 (17:20 -0500)
committerEric Sandeen <sandeen@sandeen.net>
Thu, 12 Nov 2020 22:20:38 +0000 (17:20 -0500)
commit02408cf038e534eaf8dc3cc98818cf4dba5250a2
treed356f66ef3f8d49df3aeb1ffe5cdfe131d8d8e64
parent2f4c11d4b8a104c1493bd80ef731110843bb5bc6
xfs: remove the redundant crc feature check in xfs_attr3_rmt_verify

Source kernel commit: 3feb4ffbf69321284dc78ac6ca43b4a2afadf243

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>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_attr_remote.c