Re: [PATCH 12/27] xfs: factor out xfs_dir2_leaf_find_entry

Alex Elder
2011-07-05T22:36:48Z

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@lst.de>
> Reviewed-by: Dave Chinner <dchinner@redhat.com>

Nice.

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