X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fcifs%2Fioctl.c;h=0088a5b5256460cd73737ef12db8e718a0c6902f;hb=2d9b57fbec9fde4deea3686f3927204efa218c7f;hp=5c792df13d62f518224378a0c9a795d9440040a7;hpb=0dbd888936a23514716b8d944775bc56f731363a;p=linux-2.6 diff --git a/fs/cifs/ioctl.c b/fs/cifs/ioctl.c index 5c792df13d..0088a5b525 100644 --- a/fs/cifs/ioctl.c +++ b/fs/cifs/ioctl.c @@ -30,9 +30,9 @@ #define CIFS_IOC_CHECKUMOUNT _IO(0xCF, 2) -int cifs_ioctl(struct inode *inode, struct file *filep, - unsigned int command, unsigned long arg) +long cifs_ioctl(struct file *filep, unsigned int command, unsigned long arg) { + struct inode *inode = filep->f_dentry->d_inode; int rc = -ENOTTY; /* strange error - but the precedent */ int xid; struct cifs_sb_info *cifs_sb;