[PATCH 3/4] generic/062: don't create WHITEOUT_DEV

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



overlay doesn't support creating WHITEOUT_DEV (major and minor device ID
are both 0). Create null device instead.

Signed-off-by: Eryu Guan <eguan@xxxxxxxxxx>
---
 tests/generic/062 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/generic/062 b/tests/generic/062
index 90fcbda..e4dc2cc 100755
--- a/tests/generic/062
+++ b/tests/generic/062
@@ -63,7 +63,7 @@ _create_test_bed()
 	ln -s $SCRATCH_MNT/dir $SCRATCH_MNT/lnk
 	mkdir $SCRATCH_MNT/dev
 	mknod $SCRATCH_MNT/dev/b b 0 0
-	mknod $SCRATCH_MNT/dev/c c 0 0
+	mknod $SCRATCH_MNT/dev/c c 1 3
 	mknod $SCRATCH_MNT/dev/p p
 	# sanity check
 	find $SCRATCH_MNT | LC_COLLATE=POSIX sort | _filter_scratch | grep -v "lost+found"
-- 
2.5.0

--
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