summaryrefslogtreecommitdiffstats
path: root/fs/jffs2/file.c
diff options
context:
space:
mode:
authorStoyan Gaydarov <stoyboyker@gmail.com>2008-07-07 14:45:59 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-07-11 19:33:42 +0200
commit0533400b7813df6c22a171499434d30bd57e799c (patch)
tree1cd945fbcc8635b7b6a7d5bce618ab0b8f2b114a /fs/jffs2/file.c
parent[MTD] Fix const assignment in the MTD command line partitioning driver (diff)
downloadlinux-0533400b7813df6c22a171499434d30bd57e799c.tar.xz
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/file.c')
-rw-r--r--fs/jffs2/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jffs2/file.c b/fs/jffs2/file.c
index 5e920343b2c5..5a98aa87c853 100644
--- a/fs/jffs2/file.c
+++ b/fs/jffs2/file.c
@@ -46,7 +46,7 @@ const struct file_operations jffs2_file_operations =
.aio_read = generic_file_aio_read,
.write = do_sync_write,
.aio_write = generic_file_aio_write,
- .ioctl = jffs2_ioctl,
+ .unlocked_ioctl=jffs2_ioctl,
.mmap = generic_file_readonly_mmap,
.fsync = jffs2_fsync,
.splice_read = generic_file_splice_read,