X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fcifs%2Fioctl.c;h=0088a5b5256460cd73737ef12db8e718a0c6902f;hb=2d9b57fbec9fde4deea3686f3927204efa218c7f;hp=a414f1775ae05185d07f320525dd0a8513b2e769;hpb=1e0e76cf1376a0a1b49a23396e945456c329814e;p=linux-2.6 diff --git a/fs/cifs/ioctl.c b/fs/cifs/ioctl.c index a414f1775a..0088a5b525 100644 --- a/fs/cifs/ioctl.c +++ b/fs/cifs/ioctl.c @@ -3,7 +3,7 @@ * * vfs operations that deal with io control * - * Copyright (C) International Business Machines Corp., 2005 + * Copyright (C) International Business Machines Corp., 2005,2007 * Author(s): Steve French (sfrench@us.ibm.com) * * This library is free software; you can redistribute it and/or modify @@ -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;