[S390] avoid default_llseek in s390 drivers
[safe/jmp/linux-2.6] / drivers / s390 / scsi / zfcp_cfdc.c
index 25d9e0a..1a2db0a 100644 (file)
@@ -254,6 +254,7 @@ static long zfcp_cfdc_dev_ioctl(struct file *file, unsigned int command,
 }
 
 static const struct file_operations zfcp_cfdc_fops = {
+       .open = nonseekable_open,
        .unlocked_ioctl = zfcp_cfdc_dev_ioctl,
 #ifdef CONFIG_COMPAT
        .compat_ioctl = zfcp_cfdc_dev_ioctl