From: Sebastian Ott Date: Fri, 26 Apr 2013 14:13:47 +0000 (+0200) Subject: [SCSI] zfcp: cfdc fops add owner X-Git-Tag: v3.11-rc1~88^2~100 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8377dbc3cd376070145061212283c9e4a5afeb09;p=profile%2Fivi%2Fkernel-x86-ivi.git [SCSI] zfcp: cfdc fops add owner Set the owner member of zfcp_cfdc_fops, to ensure that the caller of these functions holds a module reference. Signed-off-by: Sebastian Ott Signed-off-by: Steffen Maier Signed-off-by: James Bottomley --- diff --git a/drivers/s390/scsi/zfcp_cfdc.c b/drivers/s390/scsi/zfcp_cfdc.c index 49b82e4..b46f54e 100644 --- a/drivers/s390/scsi/zfcp_cfdc.c +++ b/drivers/s390/scsi/zfcp_cfdc.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include @@ -250,6 +251,7 @@ static long zfcp_cfdc_dev_ioctl(struct file *file, unsigned int command, } static const struct file_operations zfcp_cfdc_fops = { + .owner = THIS_MODULE, .open = nonseekable_open, .unlocked_ioctl = zfcp_cfdc_dev_ioctl, #ifdef CONFIG_COMPAT