[JFFS2] Remove unneeded ifdefs from jffs2_fs_i.h
authorMichal Piotrowski <michal.k.k.piotrowski@gmail.com>
Fri, 22 Sep 2006 09:13:46 +0000 (10:13 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Fri, 22 Sep 2006 09:13:46 +0000 (10:13 +0100)
We certainly don't need the check for Linux version > 2.5.2, and in fact
we can also live without the __ECOS check, since we can just add it back
in the eCos git tree which is automatically derived from the Linux fs/jffs2
subdirectory in the upstream git tree.

Signed-off-by: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
fs/jffs2/jffs2_fs_i.h

index 2e0cc8e00b858b399121437b1ba9ebd9beb312e5..3a566077ac955aeeb3fe7e39960aa9b92f4986e3 100644 (file)
@@ -41,11 +41,7 @@ struct jffs2_inode_info {
 
        uint16_t flags;
        uint8_t usercompr;
-#if !defined (__ECOS)
-#if LINUX_VERSION_CODE > KERNEL_VERSION(2,5,2)
        struct inode vfs_inode;
-#endif
-#endif
 #ifdef CONFIG_JFFS2_FS_POSIX_ACL
        struct posix_acl *i_acl_access;
        struct posix_acl *i_acl_default;