mtd/fs/jffs2 ioctl.c,1.7,1.8

David Woodhouse dwmw2 at infradead.org
Tue Oct 28 11:16:30 EST 2003


Update of /home/cvs/mtd/fs/jffs2
In directory phoenix.infradead.org:/tmp/cvs-serv3580

Modified Files:
	ioctl.c 
Log Message:
Fix ioctl error return to -ENOTTY


Index: ioctl.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/ioctl.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ioctl.c	4 Oct 2003 08:33:06 -0000	1.7
+++ ioctl.c	28 Oct 2003 16:16:28 -0000	1.8
@@ -1,7 +1,7 @@
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
- * Copyright (C) 2001 Red Hat, Inc.
+ * Copyright (C) 2001-2003 Red Hat, Inc.
  *
  * Created by David Woodhouse <dwmw2 at redhat.com>
  *
@@ -18,6 +18,6 @@
 {
 	/* Later, this will provide for lsattr.jffs2 and chattr.jffs2, which
 	   will include compression support etc. */
-	return -EINVAL;
+	return -ENOTTY;
 }
 	




More information about the linux-mtd-cvs mailing list