diff options
author | Chris Dunlop <[email protected]> | 2013-06-03 16:58:52 +1000 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2013-07-08 15:41:57 -0700 |
commit | a1d9543a39942be56879ca9338078afc77c25cea (patch) | |
tree | 61e93dbaf3b3911ba6ab21fe3760870f788ce39a /config/kernel.m4 | |
parent | 168d056cf8ed073e17f008b9109ad3d37e63f172 (diff) |
3.10 API change: block_device_operations->release() returns void
Linux kernel commit torvalds/linux@db2a144 changed the return type
of block_device_operations->release() to void. Detect the expected
prototype and defined our callout accordingly.
Signed-off-by: Chris Dunlop <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #1494
Diffstat (limited to 'config/kernel.m4')
-rw-r--r-- | config/kernel.m4 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/kernel.m4 b/config/kernel.m4 index 7b8e3b04b..46c0255b0 100644 --- a/config/kernel.m4 +++ b/config/kernel.m4 @@ -7,6 +7,7 @@ AC_DEFUN([ZFS_AC_CONFIG_KERNEL], [ ZFS_AC_TEST_MODULE ZFS_AC_KERNEL_CONFIG ZFS_AC_KERNEL_BDEV_BLOCK_DEVICE_OPERATIONS + ZFS_AC_KERNEL_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID ZFS_AC_KERNEL_TYPE_FMODE_T ZFS_AC_KERNEL_KOBJ_NAME_LEN ZFS_AC_KERNEL_3ARG_BLKDEV_GET |