]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
common: factor out xfs unique part from _filter_mkfs
authorShin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Fri, 18 Feb 2022 07:31:56 +0000 (16:31 +0900)
committerEryu Guan <guaneryu@gmail.com>
Sun, 20 Feb 2022 17:01:49 +0000 (01:01 +0800)
commit96b95682588f8e785579be57c80f5b1d5b2ed8ed
tree24d1cf65e9fa4f22ae410d7ba50b9e05a159e20c
parent1a7e6b57172d054823e7ea39110cf6dff1500065
common: factor out xfs unique part from _filter_mkfs

Most of the code in the function _filter_mkfs is xfs unique. This is
misleading that the function would be dedicated for xfs. Clean up the
function by factoring out xfs unique part to _xfs_filter_mkfs in
common/xfs. While at the same time, fix indent in _xfs_filter_mkfs to be
consistent with other functions in common/xfs.

Suggested-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
common/filter
common/xfs