diff options
author | Christoph Hellwig <[email protected]> | 2019-02-15 08:02:47 -0800 |
---|---|---|
committer | Darrick J. Wong <[email protected]> | 2019-02-17 11:55:53 -0800 |
commit | b101e3342a34404f2cc2daaad569afcae68452b0 (patch) | |
tree | 0c678b7ff654fa21298881ccca2f5742ddfe77ae /fs/xfs/libxfs/xfs_dir2_leaf.c | |
parent | b4e29032f254fed39ef2251807322f36c3ede1aa (diff) |
xfs: simplify the xfs_bmap_btree_to_extents calling conventions
Move boilerplate code from the callers into xfs_bmap_btree_to_extents:
- exit early without failure if we don't need to convert to the
extent format
- assert that we have a btree cursor
- don't reinitialize the passed in logflags argument
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Brian Foster <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'fs/xfs/libxfs/xfs_dir2_leaf.c')
0 files changed, 0 insertions, 0 deletions