]> git.proxmox.com Git - mirror_zfs.git/commit
Fix lookup_bdev() on Ubuntu
authorHajo Möller <dasjoe@users.noreply.github.com>
Wed, 26 Oct 2016 17:30:43 +0000 (19:30 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 26 Oct 2016 17:30:43 +0000 (10:30 -0700)
commite02aaf17f15ad274fa1f24c9c826f1477911ea3f
tree3190cb161bb2665f1e4e647d72b0ca98c7d56130
parent76a87a902ef031432a855fb341cf35291e2be2b6
Fix lookup_bdev() on Ubuntu

Ubuntu added support for checking inode permissions to lookup_bdev() in kernel
commit 193fb6a2c94fab8eb8ce70a5da4d21c7d4023bee (merged in 4.4.0-6.21).
Upstream bug: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1636517

This patch adds a test for Ubuntu's variant of lookup_bdev() to configure and
calls the function in the correct way.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Hajo Möller <dasjoe@gmail.com>
Closes #5336
config/kernel-lookup-bdev.m4
include/linux/blkdev_compat.h
module/zfs/zvol.c