Skip to content

Commit

Permalink
[JFFS2] Remove unneeded ifdefs from jffs2_fs_i.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michal Piotrowski authored and David Woodhouse committed Sep 22, 2006
1 parent cbc88ba commit f2dd117
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions fs/jffs2/jffs2_fs_i.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f2dd117

Please sign in to comment.