[JFFS2] Remove unneeded ifdefs from jffs2_fs_i.h
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Fri Sep 22 05:59:01 EDT 2006
Commit: f2dd117fa51dd8fc071b1352254c0d14d2399b0a
Parent: cbc88ba83ff772d8c47d95ba0fef38ad888d6fcf
commit f2dd117fa51dd8fc071b1352254c0d14d2399b0a
Author: Michal Piotrowski <michal.k.k.piotrowski at gmail.com>
AuthorDate: Fri Sep 22 10:13:46 2006 +0100
Commit: David Woodhouse <dwmw2 at infradead.org>
CommitDate: Fri Sep 22 10:13:46 2006 +0100
[JFFS2] Remove unneeded ifdefs from jffs2_fs_i.h
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 at gmail.com>
Signed-off-by: Andrew Morton <akpm at osdl.org>
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
---
fs/jffs2/jffs2_fs_i.h | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/fs/jffs2/jffs2_fs_i.h b/fs/jffs2/jffs2_fs_i.h
index 2e0cc8e..3a56607 100644
--- a/fs/jffs2/jffs2_fs_i.h
+++ b/fs/jffs2/jffs2_fs_i.h
@@ -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;
More information about the linux-mtd-cvs
mailing list