diff options
author | Charles Manning <cdhmanning@gmail.com> | 2010-11-03 14:04:02 +1300 |
---|---|---|
committer | Charles Manning <cdhmanning@gmail.com> | 2010-11-03 14:04:02 +1300 |
commit | a233a8fc212a32a50cc5f572cd4946e91cc9ca93 (patch) | |
tree | 309ecc28dc4cca8b63aad0c67f7036c5341a7b84 /yaffs_guts.h | |
parent | 4aab7ea4c9b8fb1bb9b375476a9faf70d29871b1 (diff) |
yaffs: More clean up
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Diffstat (limited to 'yaffs_guts.h')
-rw-r--r-- | yaffs_guts.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/yaffs_guts.h b/yaffs_guts.h index 13a2e87..fe6e934 100644 --- a/yaffs_guts.h +++ b/yaffs_guts.h @@ -306,15 +306,11 @@ struct yaffs_obj_hdr { /* The following apply to directories, files, symlinks - not hard links */ u32 yst_mode; /* protection */ -#ifdef CONFIG_YAFFS_WINCE - u32 not_for_wince[5]; -#else u32 yst_uid; u32 yst_gid; u32 yst_atime; u32 yst_mtime; u32 yst_ctime; -#endif /* File size applies to files only */ int file_size; @@ -327,14 +323,10 @@ struct yaffs_obj_hdr { u32 yst_rdev; /* device stuff for block and char devices (major/min) */ -#ifdef CONFIG_YAFFS_WINCE u32 win_ctime[2]; u32 win_atime[2]; u32 win_mtime[2]; -#else - u32 room_to_grow[6]; -#endif u32 inband_shadowed_obj_id; u32 inband_is_shrink; @@ -829,9 +821,6 @@ int yaffs_get_obj_inode(struct yaffs_obj *obj); unsigned yaffs_get_obj_type(struct yaffs_obj *obj); int yaffs_get_obj_link_count(struct yaffs_obj *obj); -int yaffs_set_attribs(struct yaffs_obj *obj, struct iattr *attr); -int yaffs_get_attribs(struct yaffs_obj *obj, struct iattr *attr); - /* File operations */ int yaffs_file_rd(struct yaffs_obj *obj, u8 *buffer, loff_t offset, int n_bytes); @@ -882,11 +871,6 @@ int yaffs_remove_xattrib(struct yaffs_obj *obj, const YCHAR *name); struct yaffs_obj *yaffs_root(struct yaffs_dev *dev); struct yaffs_obj *yaffs_lost_n_found(struct yaffs_dev *dev); -#ifdef CONFIG_YAFFS_WINCE -/* CONFIG_YAFFS_WINCE special stuff */ -void yfsd_win_file_time_now(u32 target[2]); -#endif - void yaffs_handle_defered_free(struct yaffs_obj *obj); void yaffs_update_dirty_dirs(struct yaffs_dev *dev); |