[JFFS2] Use .unlocked_ioctl

This changes the .ioctl to the .unlocked_ioctl version.

Signed-off-by: Stoyan Gaydarov <stoyboyker@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
This commit is contained in:
Stoyan Gaydarov
2008-07-07 07:45:59 -05:00
committed by David Woodhouse
parent 36560d255b
commit 0533400b78
4 changed files with 4 additions and 5 deletions

View File

@@ -12,8 +12,7 @@
#include <linux/fs.h>
#include "nodelist.h"
int jffs2_ioctl(struct inode *inode, struct file *filp, unsigned int cmd,
unsigned long arg)
long jffs2_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
{
/* Later, this will provide for lsattr.jffs2 and chattr.jffs2, which
will include compression support etc. */