]> granicus.if.org Git - zfs/commit
Fix RHEL 7.4 bio_set_op_attrs build error
authorTony Hutter <hutter2@llnl.gov>
Tue, 27 Jun 2017 19:00:27 +0000 (12:00 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 27 Jun 2017 19:00:27 +0000 (12:00 -0700)
commit5b7bb98387e77259aab50a8c081e4c527a60b58e
tree931eb5813464cc489587454f877797a9b1963d74
parent2d678f779aba26a93314c8ee1142c3985fa25cb6
Fix RHEL 7.4 bio_set_op_attrs build error

On RHEL 7.4, include/linux/bio.h now includes a macro for
bio_set_op_attrs that conflicts with the ifndef in ZFS
include/linux/blkdev_compat.h.  This patch fixes the build.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #6234
Closes #6271
config/kernel-bio-op.m4