]> Git Repo - linux.git/commit
xfs: simplify the xfs_getbmap interface
authorChristoph Hellwig <[email protected]>
Tue, 17 Oct 2017 21:16:19 +0000 (14:16 -0700)
committerDarrick J. Wong <[email protected]>
Thu, 26 Oct 2017 22:38:20 +0000 (15:38 -0700)
commit232b51948b99dfcc95e81d8a289bc0409b3ff5b3
tree1fccfa555e5615315aa2ded63028f4d5fc7799bf
parentabbf9e8a45074844efc91990a75dfe47fab70fa6
xfs: simplify the xfs_getbmap interface

Instead of passing in a formatter callback allocate the bmap buffer
in the caller and process the entries there.  Additionally replace
the in-kernel buffer with a new much smaller structure, and unify
the implementation of the different ioctls in a single function.

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]>
fs/xfs/xfs_bmap_util.c
fs/xfs/xfs_bmap_util.h
fs/xfs/xfs_ioctl.c
This page took 0.054133 seconds and 4 git commands to generate.