X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=fs%2Fcifs%2Fioctl.c;h=6c9f1214cf0bd5d4b4e5f1ccd2751637247edc85;hb=0ca7ffb356063c5ece847687da457dfe748612a2;hp=fd5009d56f9fcfba38989a98c292e79f6cf45546;hpb=3459f6204730fc3c0e44059296f6daa592e8c8d6;p=~andy%2Flinux diff --git a/fs/cifs/ioctl.c b/fs/cifs/ioctl.c index fd5009d56f9..6c9f1214cf0 100644 --- a/fs/cifs/ioctl.c +++ b/fs/cifs/ioctl.c @@ -30,7 +30,7 @@ long cifs_ioctl(struct file *filep, unsigned int command, unsigned long arg) { - struct inode *inode = filep->f_dentry->d_inode; + struct inode *inode = file_inode(filep); int rc = -ENOTTY; /* strange error - but the precedent */ unsigned int xid; struct cifs_sb_info *cifs_sb;