Linux 2.6.36 compat, use fops->unlocked_ioctl()
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 11 Nov 2010 00:44:20 +0000 (16:44 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 11 Nov 2010 01:01:08 +0000 (17:01 -0800)
commit1f30b9d432dd48826cd562757d19c2771b0973e8
treeaae172f6c43e14c6290bf2cf25dea23e6dbb8f1b
parent8326eb4605a3d7c87cac15d5d11316fb99cd9ab0
Linux 2.6.36 compat, use fops->unlocked_ioctl()

As of linux-2.6.36 the last in-tree consumer of fops->ioctl() has
been removed and thus fops()->ioctl() has also been removed.  The
replacement hook is fops->unlocked_ioctl() which has existed in
kernel since 2.6.12.  Since the ZFS code only contains support
back to 2.6.18 vintage kernels, I'm not adding an autoconf check
for this and simply moving everything to use fops->unlocked_ioctl().
module/zpios/pios.c