summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_dir2_block.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2011-07-08 12:34:59 (GMT)
committerChristoph Hellwig <hch@lst.de>2011-07-08 12:34:59 (GMT)
commit4fb44c8272a071290d2ad76164c532fa2902b604 (patch)
treea3e36278df268b0bd99c12455ba6e4c8ced478cf /fs/xfs/xfs_dir2_block.c
parent29d104af0a92ba1eac74b636da7fcf88242e1180 (diff)
downloadlinux-4fb44c8272a071290d2ad76164c532fa2902b604.tar.xz
xfs: factor out xfs_dir2_leaf_find_entry
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: Alex Elder <aelder@sgi.com> Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/xfs_dir2_block.c')
0 files changed, 0 insertions, 0 deletions