]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit747fc806f9f38023e600e4455b139cf90f8f32a5
tree471db1bf7a40c0671bddc5d55605df7e6a41b230
parent39a426f0e30bc37c371955a24f617cb3280f0c04
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