mtd/fs/jffs2 os-linux.h,1.23,1.24

David Woodhouse dwmw2 at infradead.org
Tue Jan 21 13:14:29 EST 2003


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

Modified Files:
	os-linux.h 
Log Message:
jffs2_to_os_mode(), os_to_jffs2_mode()

Index: os-linux.h
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/os-linux.h,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- os-linux.h	17 Jan 2003 16:04:16 -0000	1.23
+++ os-linux.h	21 Jan 2003 18:14:26 -0000	1.24
@@ -15,6 +15,11 @@
 #define __JFFS2_OS_LINUX_H__
 #include <linux/version.h>
 
+/* JFFS2 uses Linux mode bits natively -- no need for conversion */
+#define os_to_jffs2_mode(x) (x)
+#define jffs2_to_os_mode(x) (x)
+
+
 #if LINUX_VERSION_CODE > KERNEL_VERSION(2,5,2)
 #define JFFS2_INODE_INFO(i) (list_entry(i, struct jffs2_inode_info, vfs_inode))
 #define OFNI_EDONI_2SFFJ(f)  (&(f)->vfs_inode)





More information about the linux-mtd-cvs mailing list