Whamcloud - gitweb
LU-11712 osd-ldiskfs: Wrap blk integrity with config check 09/34309/2
authorChris Horn <hornc@cray.com>
Wed, 28 Nov 2018 21:00:25 +0000 (15:00 -0600)
committerOleg Drokin <green@whamcloud.com>
Tue, 19 Mar 2019 06:00:55 +0000 (06:00 +0000)
commit64457e6a7c49fc42d9f4a2a6af26e404b7c9b74c
tree33ea407cdf4148eea9cd3337c14cf51991c2a550
parentc84aa2ac96cf11258140834d58b36d8cd11c76c3
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

Lustre-change: https://review.whamcloud.com/33745
Lustre-commit: fd193758bb95e3fbb4cd04e88f0d964f9cb510cf

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