]> granicus.if.org Git - zfs/commit
Linux 4.16 compat: get_disk_and_module()
authorGiuseppe Di Natale <dinatale2@users.noreply.github.com>
Mon, 5 Mar 2018 20:44:35 +0000 (12:44 -0800)
committerTony Hutter <hutter2@llnl.gov>
Wed, 14 Mar 2018 23:10:38 +0000 (16:10 -0700)
commit8d7f17798d0faa0001bf7257759be0c688b91044
tree66e73a3c2a8140b2edef256861a42a9b3e5aa4ef
parent6dc40e2ada2d0d008bd314ff3525f2b0acc2bb01
Linux 4.16 compat: get_disk_and_module()

As of https://github.com/torvalds/linux/commit/fb6d47a, get_disk()
is now get_disk_and_module(). Add a configure check to determine
if we need to use get_disk_and_module().

Reviewed-by: loli10K <ezomori.nozomu@gmail.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Closes #7264
config/kernel-get-disk-and-module.m4 [new file with mode: 0644]
config/kernel.m4
include/linux/blkdev_compat.h
module/zfs/zvol.c