xfs: abstract out dev_t conversions
authorChristoph Hellwig <[email protected]>
Mon, 20 Nov 2017 16:56:52 +0000 (08:56 -0800)
committerDarrick J. Wong <[email protected]>
Tue, 21 Nov 2017 09:44:53 +0000 (01:44 -0800)
commit274e0a1f4777b9362fc03a34e86358cc36003e48
treec1cde1a02a916b71b412a0a7543999771efdc92f
parent6818caa4cdc95d9ec5642a4439f8271a80189b48
xfs: abstract out dev_t conversions

And move them to xfs_linux.h so that xfsprogs can stub them out more
easily.

Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
fs/xfs/libxfs/xfs_inode_fork.c
fs/xfs/xfs_linux.h