HomeFreeBSD

Linux 4.2 compat: remove bio->bi_cnt access

Description

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

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Jul 14 2015, 9:57 PM
Parents
rGe80da8644717: Linux 4.2 compat: bdi_setup_and_register()
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG7eb333fbdde3: Linux 4.2 compat: remove bio->bi_cnt access (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Jul 17 2015, 4:16 PM