diff options
author | Steve French <sfrench@us.ibm.com> | 2008-05-15 07:51:55 +0200 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2008-05-15 07:51:55 +0200 |
commit | f9ddcca4cf7d95238beb295484d1de7c0bf490dd (patch) | |
tree | 07ed83773e89d32f2d509b6514ef0feaa75b22d5 /fs/cifs/cifsfs.h | |
parent | [CIFS] suppress duplicate warning (diff) | |
download | linux-f9ddcca4cf7d95238beb295484d1de7c0bf490dd.tar.xz linux-f9ddcca4cf7d95238beb295484d1de7c0bf490dd.zip |
[CIFS] BKL-removal: convert CIFS over to unlocked_ioctl
cifs_ioctl doesn't seem to need the BKL for anything, so convert it over
to use unlocked_ioctl.
Signed-off-by: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsfs.h')
-rw-r--r-- | fs/cifs/cifsfs.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/cifs/cifsfs.h b/fs/cifs/cifsfs.h index cd1301a09b3b..25a6cbd15529 100644 --- a/fs/cifs/cifsfs.h +++ b/fs/cifs/cifsfs.h @@ -95,8 +95,7 @@ extern int cifs_setxattr(struct dentry *, const char *, const void *, size_t, int); extern ssize_t cifs_getxattr(struct dentry *, const char *, void *, size_t); extern ssize_t cifs_listxattr(struct dentry *, char *, size_t); -extern int cifs_ioctl(struct inode *inode, struct file *filep, - unsigned int command, unsigned long arg); +extern long cifs_ioctl(struct file *filep, unsigned int cmd, unsigned long arg); #ifdef CONFIG_CIFS_EXPERIMENTAL extern const struct export_operations cifs_export_ops; |