From 67b66e2c4ee8a1a649634bd04f057b06fa7b65bd Mon Sep 17 00:00:00 2001 From: Arnd Bergmann Date: Thu, 12 Aug 2010 04:13:57 +0100 Subject: [PATCH] --- yaml --- r: 209152 b: refs/heads/master c: 402ab352c2c00ba8f90c724565f8cf31210d99cf h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/md/dm-ioctl.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 52a7b827412f..88f261d2501a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3f77316de0ec0fd208467fbee8d9edc70e2c73b2 +refs/heads/master: 402ab352c2c00ba8f90c724565f8cf31210d99cf diff --git a/trunk/drivers/md/dm-ioctl.c b/trunk/drivers/md/dm-ioctl.c index feb64d65fbfb..3fd8f0e169e7 100644 --- a/trunk/drivers/md/dm-ioctl.c +++ b/trunk/drivers/md/dm-ioctl.c @@ -1602,6 +1602,7 @@ static long dm_compat_ctl_ioctl(struct file *file, uint command, ulong u) #endif static const struct file_operations _ctl_fops = { + .open = nonseekable_open, .unlocked_ioctl = dm_ctl_ioctl, .compat_ioctl = dm_compat_ctl_ioctl, .owner = THIS_MODULE,