diff options
author | Steve French <sfrench@us.ibm.com> | 2008-05-15 05:51:55 +0000 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2008-05-15 05:51:55 +0000 |
commit | f9ddcca4cf7d95238beb295484d1de7c0bf490dd (patch) | |
tree | 07ed83773e89d32f2d509b6514ef0feaa75b22d5 /fs/cifs/cifsfs.h | |
parent | c32916374b2b4f4d2b7ccdb357fe7989f3b407a6 (diff) | |
download | op-kernel-dev-f9ddcca4cf7d95238beb295484d1de7c0bf490dd.zip op-kernel-dev-f9ddcca4cf7d95238beb295484d1de7c0bf490dd.tar.gz |
[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 cd1301a..25a6cbd 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; |