Skip to content

Commit

Permalink
common/populate: remove unnecessary devices directory creation
Browse files Browse the repository at this point in the history
_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>
  • Loading branch information
wangxiaoguang authored and dchinner committed May 9, 2016
1 parent c9be5ca commit f614c27
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions common/populate
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down

0 comments on commit f614c27

Please sign in to comment.