From: Xiaoguang Wang Date: Mon, 9 May 2016 00:52:35 +0000 (+1000) Subject: common/populate: remove unnecessary devices directory creation X-Git-Tag: v2022.05.01~2531 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=f614c277caba74799ec09437ce97e400f6deca16;p=users%2Fhch%2Fxfstests-dev.git common/populate: remove unnecessary devices directory creation _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 Reviewed-by: Darrick J. Wong Signed-off-by: Dave Chinner --- diff --git a/common/populate b/common/populate index d166c24a7..aa6ed7939 100644 --- a/common/populate +++ b/common/populate @@ -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