Skip to content
Snippets Groups Projects
Commit d57de0ab authored by Michael Vines's avatar Michael Vines
Browse files

Add yaffs_vfs.c corruption fix to ics_strawberry

Change-Id: Ia795a8be71920cf374b5faf1b3ced038c732900b
parent 5cc73fc6
No related branches found
No related tags found
No related merge requests found
diff --git a/fs/yaffs2/yaffs_vfs.c b/fs/yaffs2/yaffs_vfs.c
index d5b8753..a0f05f1 100644
--- a/fs/yaffs2/yaffs_vfs.c
+++ b/fs/yaffs2/yaffs_vfs.c
@@ -859,7 +859,7 @@ static int yaffs_readdir(struct file *f, void *dirent, filldir_t filldir)
/* If the directory has changed since the open or last call to
readdir, rewind to after the 2 canned entries. */
if (f->f_version != inode->i_version) {
- offset = 2;
+ //offset = 2;
f->f_pos = offset;
f->f_version = inode->i_version;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment