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

Joel Becker Joel.Becker at oracle.com
Fri Feb 5 15:21:56 PST 2010


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.  

Joel

-- 

"If at first you don't succeed, cover all traces that you tried."
                                                        -Unknown

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127



More information about the Ocfs2-devel mailing list