Re: [PATCH] jffs2: bug fix of creating node when gc or find space

2015-12-11 Thread gaoyongliang
iltered out the noise: > > http://patchwork.ozlabs.org/project/linux-mtd/list/?q=jffs2 > > They're mostly marked as delegated to you. What would you like to do > with them? > > On Fri, Dec 11, 2015 at 09:36:55AM +0800, gaoyongli...@huawei.com wrote: >> From: gaoyon

[PATCH] jffs2: bug fix of creating node when gc or find space

2015-12-10 Thread gaoyongliang
From: gaoyongliang 1. create inode by insert_inode_locked, and return inode with I_NEW. 2. has writed the dnode successfully in the end of one block, then release the c->alloc_sem, but the dirent is not written yet. 3. the gc or jffs2_reserve_space which has got the c->alloc_sem may