]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/cifs/ioctl.c
ext3: Fix duplicate entries returned from getdents() system call
[linux-2.6-omap-h63xx.git] / fs / cifs / ioctl.c
index d24fe6880a04e63f1ea370ef67ca92f0205f3fb5..0088a5b5256460cd73737ef12db8e718a0c6902f 100644 (file)
@@ -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;