[PATCH] common/populate: remove unnecessary devices directory creation

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



_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@xxxxxxxxxxxxxx>
---
 common/populate | 2 --
 1 file changed, 2 deletions(-)

diff --git a/common/populate b/common/populate
index d166c24..aa6ed79 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
 
-- 
1.8.3.1



--
To unsubscribe from this list: send the line "unsubscribe fstests" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux