note that instead of hardcoding the patched variant of lookup_bdev, it might make sense to adapt the zfs automake files to autodetect and handle both one parameter and two parameter variants?
that way, all three variations of building the zfs module would work:
dkms source with either an Ubuntu or upstream kernel
Ubuntu kernel with zfs module source in module/zfs/
attached patch with fix tested with 4.4.0-45.66
note that instead of hardcoding the patched variant of lookup_bdev, it might make sense to adapt the zfs automake files to autodetect and handle both one parameter and two parameter variants?
that way, all three variations of building the zfs module would work:
dkms source with either an Ubuntu or upstream kernel
Ubuntu kernel with zfs module source in module/zfs/