X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=config%2Fkernel-bdev-block-device-operations.m4;h=faacc195da9b4211675c2254d33d86a34378f1d7;hb=51a3ae72d23d89d35a4a67059b39e870d66a2495;hp=8b5e0a32b74e035595f5c5bb57c683529940b015;hpb=c38367c73f592ca9729ba0d5e70b5e3bc67e0745;p=zfs.git diff --git a/config/kernel-bdev-block-device-operations.m4 b/config/kernel-bdev-block-device-operations.m4 index 8b5e0a3..faacc19 100644 --- a/config/kernel-bdev-block-device-operations.m4 +++ b/config/kernel-bdev-block-device-operations.m4 @@ -10,7 +10,6 @@ AC_DEFUN([ZFS_AC_KERNEL_BDEV_BLOCK_DEVICE_OPERATIONS], [ int blk_open(struct block_device *bdev, fmode_t mode) { return 0; } - int blk_release(struct gendisk *g, fmode_t mode) { return 0; } int blk_ioctl(struct block_device *bdev, fmode_t mode, unsigned x, unsigned long y) { return 0; } int blk_compat_ioctl(struct block_device * bdev, fmode_t mode, @@ -19,7 +18,7 @@ AC_DEFUN([ZFS_AC_KERNEL_BDEV_BLOCK_DEVICE_OPERATIONS], [ static const struct block_device_operations bops __attribute__ ((unused)) = { .open = blk_open, - .release = blk_release, + .release = NULL, .ioctl = blk_ioctl, .compat_ioctl = blk_compat_ioctl, };