summaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-01-07 16:04:37 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2016-01-09 03:20:32 +0100
commit263a3df18fa2c078ab3e8b14fece6cfa6053e86a (patch)
tree22a10de0c98ff08101f51a60bfdfc5731ce59d6b /drivers/block
parentMerge branch 'for-linus' into work.misc (diff)
downloadlinux-263a3df18fa2c078ab3e8b14fece6cfa6053e86a.tar.xz
linux-263a3df18fa2c078ab3e8b14fece6cfa6053e86a.zip
nbd: use ->compat_ioctl()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/nbd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c
index 93b3f99b6865..e4c5cc107934 100644
--- a/drivers/block/nbd.c
+++ b/drivers/block/nbd.c
@@ -827,6 +827,7 @@ static const struct block_device_operations nbd_fops =
{
.owner = THIS_MODULE,
.ioctl = nbd_ioctl,
+ .compat_ioctl = nbd_ioctl,
};
#if IS_ENABLED(CONFIG_DEBUG_FS)