On Wed, Nov 12, 2008 at 06:24:06PM -0800, Mark Fasheh wrote:
> Many directory manipulation calls pass around a tuple of dirent, and it's
> containing buffer_head. Dir indexing has a bit more state, but instead of
> adding yet more arguments to functions, we introduce 'struct
> ocfs2_dir_lookup_result'. In this patch, it simply holds the same tuple, but
> future patches will add more state.
I really like this, especially that we're fixing functions that
return in two places (via the actual return and a ** argument). I'd be
tempted to pass the *lookup down into find_el and find_id just to
continue that pattern - but that's just me.
Also, rename, wow :-)
Signed-off-by: Joel Becker <[EMAIL PROTECTED]>
--
"People with narrow minds usually have broad tongues."
Joel Becker
Principal Software Developer
Oracle
E-mail: [EMAIL PROTECTED]
Phone: (650) 506-8127
_______________________________________________
Ocfs2-devel mailing list
[email protected]
http://oss.oracle.com/mailman/listinfo/ocfs2-devel