Whamcloud - gitweb
LU-11712 osd-ldiskfs: Wrap blk integrity with config check 45/33745/2
authorChris Horn <hornc@cray.com>
Wed, 28 Nov 2018 21:00:25 +0000 (15:00 -0600)
committerOleg Drokin <green@whamcloud.com>
Fri, 4 Jan 2019 04:45:50 +0000 (04:45 +0000)
commitfd193758bb95e3fbb4cd04e88f0d964f9cb510cf
treeb136e90ad931410ef5521f3011cf6c948b752c96
parent28e5420434dceae977e9dc493086b68079c76301
LU-11712 osd-ldiskfs: Wrap blk integrity with config check

Build is currently broken for kernels without
CONFIG_BLK_DEV_INTEGRITY. Build failure introduced by LU-11096
commit c8505c2e70d03ba20edf9fcbf431888e87a21147
https://review.whamcloud.com/#/c/32725/
Use of blk integrity should be wrapped in the config check for
HAVE_BLK_INTEGRITY_ENABLED

Signed-off-by: Chris Horn <hornc@cray.com>
Change-Id: Iac9e4a2572024c026132c87c11042cf353b14d48
Reviewed-on: https://review.whamcloud.com/33745
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre_compat.h