]> granicus.if.org Git - zfs/commit
Linux 4.2 compat: remove bio->bi_cnt access
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 14 Jul 2015 21:57:55 +0000 (14:57 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 17 Jul 2015 16:16:08 +0000 (09:16 -0700)
commit7eb333fbdde32dbebdcc88c35610159e207237c9
tree53692921c9e427a0dbaa26b66fbd37ba75dde1b2
parente80da86447174b583e4b6cebedae2956fac926ee
Linux 4.2 compat: remove bio->bi_cnt access

Linux 4.2 commit torvalds/linux@dac5621 renamed bio->bi_cnt to
bio->__bi_cnt.  Because this value is only used once in a block of
debug code it simplest just to remove the PANIC.  To my knowledge
this debugging has never been hit or proved useful so this is no
great loss.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Richard Yao <ryao@gentoo.org>
Closes #3596
module/zfs/vdev_disk.c