common/xfs: Add _scratch_get_sfdir_prefix function
authorMarco Benatto <mbenatto@redhat.com>
Mon, 18 Jun 2018 17:44:32 +0000 (14:44 -0300)
committerEryu Guan <guaneryu@gmail.com>
Fri, 22 Jun 2018 02:23:30 +0000 (10:23 +0800)
commitf5cc573281340154a422fae0688afc57a9d90e4d
treebd82b619bf9ce4ce9204792cd4db32b34e6e2d98
parent8865de330fcd671e346075fff927453f46d60eb3
common/xfs: Add _scratch_get_sfdir_prefix function

Move get_sfdir_prefix function from xfs/278 to commom/xfs
and rename it to _scratch_get_sfdir_prefix so it can be
used in other xfs tests.

This commit also changes xfs/278 to make use of
_scratch_get_sfdir_prefix instead previous one.

Signed-off-by: Marco Benatto <mbenatto@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
common/xfs
tests/xfs/278