[Ocfs2-devel] [PATCH 1/1] Ocfs2: Journaling i_flags and i_orphaned_slot when adding inode to orphan dir.

tristan tristan.ye at oracle.com
Sun Feb 7 17:45:53 PST 2010


Joel Becker wrote:
> On Thu, Feb 04, 2010 at 04:02:45PM +0800, Tristan Ye wrote:
>   
>> diff --git a/fs/ocfs2/namei.c b/fs/ocfs2/namei.c
>> index f010b22..a24caca 100644
>> --- a/fs/ocfs2/namei.c
>> +++ b/fs/ocfs2/namei.c
>> @@ -84,7 +84,7 @@ static int ocfs2_prepare_orphan_dir(struct ocfs2_super *osb,
>>  static int ocfs2_orphan_add(struct ocfs2_super *osb,
>>  			    handle_t *handle,
>>  			    struct inode *inode,
>> -			    struct ocfs2_dinode *fe,
>> +			    struct buffer_head *fe_bh,
>>     
>
> 	When you're changing these things, can you call them 'di' for
> ocfs2_dinode instead of 'fe'?  The same for 'di_bh' instead of 'fe_bh'.
> specially when adding variables to new functions.  The 'fe' terminology
> is ancient and makes no sense to anyone that hasn't seen ocfs.  
>   

Thank you joel,

Got it.



> Joel
>
>   




More information about the Ocfs2-devel mailing list