summaryrefslogtreecommitdiffstats
path: root/kernel/fs/jffs2/ioctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fs/jffs2/ioctl.c')
-rw-r--r--kernel/fs/jffs2/ioctl.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/kernel/fs/jffs2/ioctl.c b/kernel/fs/jffs2/ioctl.c
new file mode 100644
index 000000000..859a598af
--- /dev/null
+++ b/kernel/fs/jffs2/ioctl.c
@@ -0,0 +1,22 @@
+/*
+ * JFFS2 -- Journalling Flash File System, Version 2.
+ *
+ * Copyright © 2001-2007 Red Hat, Inc.
+ * Copyright © 2004-2010 David Woodhouse <dwmw2@infradead.org>
+ *
+ * Created by David Woodhouse <dwmw2@infradead.org>
+ *
+ * For licensing information, see the file 'LICENCE' in this directory.
+ *
+ */
+
+#include <linux/fs.h>
+#include "nodelist.h"
+
+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. */
+ return -ENOTTY;
+}
+