diff options
author | Christoph Hellwig <hch@lst.de> | 2011-07-08 12:34:59 (GMT) |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2011-07-08 12:34:59 (GMT) |
commit | 4fb44c8272a071290d2ad76164c532fa2902b604 (patch) | |
tree | a3e36278df268b0bd99c12455ba6e4c8ced478cf /fs/xfs/xfs_dir2_sf.c | |
parent | 29d104af0a92ba1eac74b636da7fcf88242e1180 (diff) | |
download | linux-fsl-qoriq-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_sf.c')
0 files changed, 0 insertions, 0 deletions