summaryrefslogtreecommitdiffstats
path: root/fs/jffs2/ioctl.c
diff options
context:
space:
mode:
authorStoyan Gaydarov <stoyboyker@gmail.com>2008-07-07 07:45:59 -0500
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-07-11 18:33:42 +0100
commit0533400b7813df6c22a171499434d30bd57e799c (patch)
tree1cd945fbcc8635b7b6a7d5bce618ab0b8f2b114a /fs/jffs2/ioctl.c
parent36560d255b017dbcaefbf0f8fee7ad4dd1f0fe0a (diff)
[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>
Diffstat (limited to 'fs/jffs2/ioctl.c')
-rw-r--r--fs/jffs2/ioctl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/jffs2/ioctl.c b/fs/jffs2/ioctl.c
index e2177210f62..9d41f43e47b 100644
--- a/fs/jffs2/ioctl.c
+++ b/fs/jffs2/ioctl.c
@@ -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. */