[PATCH 12/27] xfs: factor out xfs_dir2_leaf_find_entry

Alex Elder aelder at sgi.com
Tue Jul 5 17:36:44 CDT 2011


On Fri, 2011-07-01 at 05:43 -0400, Christoph Hellwig wrote:
> plain text document attachment (xfs-factor-dir2-leaf-code)
> Add a new xfs_dir2_leaf_find_entry helper to factor out some duplicate code
> from xfs_dir2_leaf_addname xfs_dir2_leafn_add.  Found by Eric Sandeen using
> an automated code duplication checker.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> Reviewed-by: Dave Chinner <dchinner at redhat.com>

Nice.

Reviewed-by: Alex Elder <aelder at sgi.com>





More information about the xfs mailing list