On 07/03/2013 05:26 AM, Andrew Morton wrote:
> On Fri, 28 Jun 2013 14:50:59 +0800 Younger Liu wrote:
>
>> While adding a file into orphan dir in ocfs2_orphan_add(),
>> it calls __ocfs2_add_entry() before ocfs2_journal_access_di().
>> If ocfs2_journal_access_di() failed, the file is added into
On Fri, 28 Jun 2013 14:50:59 +0800 Younger Liu wrote:
> While adding a file into orphan dir in ocfs2_orphan_add(),
> it calls __ocfs2_add_entry() before ocfs2_journal_access_di().
> If ocfs2_journal_access_di() failed, the file is added into
> orphan dir, and orphan dir dinode updated, but file
While adding a file into orphan dir in ocfs2_orphan_add(),
it calls __ocfs2_add_entry() before ocfs2_journal_access_di().
If ocfs2_journal_access_di() failed, the file is added into
orphan dir, and orphan dir dinode updated, but file dinode
has not been updated.
Accordingly, the data is not cons