]> git.proxmox.com Git - mirror_zfs.git/commit
Linux 3.14 compat: Immutable biovec changes in vdev_disk.c
authorChunwei Chen <tuxoko@gmail.com>
Fri, 28 Mar 2014 07:08:21 +0000 (15:08 +0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 10 Apr 2014 21:28:38 +0000 (14:28 -0700)
commitd4541210f3e07930dfefb6723d21cd8b313bb156
treebafa3ba925de90a019871f8b064e133e0a4175e7
parent408ec0d2e13188f6f500f7010b5bc5bc5bf5bb9c
Linux 3.14 compat: Immutable biovec changes in vdev_disk.c

bi_sector, bi_size and bi_idx are moved from bio to bio->bi_iter.
This patch creates BIO_BI_*(bio) macros to hide the differences.

Signed-off-by: Chunwei Chen <tuxoko@gmail.com>
Signed-off-by: Richard Yao <ryao@gentoo.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #2124
config/kernel-bio-bvec-iter.m4 [new file with mode: 0644]
config/kernel.m4
include/linux/blkdev_compat.h
module/zfs/vdev_disk.c