3.10 API change: block_device_operations->release() returns void
authorChris Dunlop <chris@onthe.net.au>
Mon, 3 Jun 2013 06:58:52 +0000 (16:58 +1000)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 8 Jul 2013 22:41:57 +0000 (15:41 -0700)
commita1d9543a39942be56879ca9338078afc77c25cea
tree61e93dbaf3b3911ba6ab21fe3760870f788ce39a
parent168d056cf8ed073e17f008b9109ad3d37e63f172
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 <chris@onthe.net.au>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1494
config/kernel-bdev-block-device-operations.m4
config/kernel-block-device-operations-release-void.m4 [new file with mode: 0644]
config/kernel.m4
module/zfs/zvol.c