summaryrefslogtreecommitdiffstats
path: root/fs/jffs2/ioctl.c
diff options
context:
space:
mode:
authorStoyan Gaydarov2008-07-07 14:45:59 +0200
committerDavid Woodhouse2008-07-11 19:33:42 +0200
commit0533400b7813df6c22a171499434d30bd57e799c (patch)
tree1cd945fbcc8635b7b6a7d5bce618ab0b8f2b114a /fs/jffs2/ioctl.c
parent[MTD] Fix const assignment in the MTD command line partitioning driver (diff)
downloadkernel-qcow2-linux-0533400b7813df6c22a171499434d30bd57e799c.tar.gz
kernel-qcow2-linux-0533400b7813df6c22a171499434d30bd57e799c.tar.xz
kernel-qcow2-linux-0533400b7813df6c22a171499434d30bd57e799c.zip
[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 e2177210f621..9d41f43e47bb 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. */