]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
common/populate: remove unnecessary devices directory creation
authorXiaoguang Wang <wangxg.fnst@cn.fujitsu.com>
Mon, 9 May 2016 00:52:35 +0000 (10:52 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 9 May 2016 00:52:35 +0000 (10:52 +1000)
_scratch_ext4_populate and _scratch_xfs_populate try to create
devices directory in xfstests/, so if we run xfs/083 or ext4/006
twice, it'll fail, fix this issue.

Signed-off-by: Xiaoguang Wang <wangxg.fnst@cn.fujitsu.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
common/populate

index d166c24a75a05bef32459b3db69e54a2090b9d22..aa6ed7939739f73998d5331838a1a0a88a81df79 100644 (file)
@@ -141,7 +141,6 @@ _scratch_xfs_populate() {
 
        # Char & block
        echo "+ special"
-       mkdir devices
        mknod "${SCRATCH_MNT}/S_IFCHR" c 1 1
        mknod "${SCRATCH_MNT}/S_IFBLK" c 1 1
 
@@ -241,7 +240,6 @@ _scratch_ext4_populate() {
 
        # Char & block
        echo "+ special"
-       mkdir devices
        mknod "${SCRATCH_MNT}/S_IFCHR" c 1 1
        mknod "${SCRATCH_MNT}/S_IFBLK" c 1 1