Re: [PATCH v2] jffs2: safely remove obsolete dirent from the f->dents list

2019-02-20 Thread Richard Weinberger
Am Samstag, 16. Februar 2019, 09:53:35 CET schrieb yuyufen: > ping? Sorry for the delay. I didn't forget (completely) about this one. The thing is, I don't really maintain jffs2 but I will collect and test patches for the upcoming merge window and carry them via my ubifs tree. David, I hope I

Re: [PATCH v2] jffs2: safely remove obsolete dirent from the f->dents list

2019-02-16 Thread yuyufen
ping? On 2019/1/23 15:22, Yufen Yu wrote: We may delete a bunch of directory entries, operating such as: getdents(), unlink(), getdents()..., until the end of the directory. jffs2 handles f_pos on the directory merely as the position on the f->dents list. So, the next getdents() may skip some

[PATCH v2] jffs2: safely remove obsolete dirent from the f->dents list

2019-01-22 Thread Yufen Yu
We may delete a bunch of directory entries, operating such as: getdents(), unlink(), getdents()..., until the end of the directory. jffs2 handles f_pos on the directory merely as the position on the f->dents list. So, the next getdents() may skip some entries before f_pos, if we remove some