From f95a426b83ec716feaab0a436d5e2280dc4e9d99 Mon Sep 17 00:00:00 2001 From: zouyee Date: Sat, 8 Feb 2025 16:07:51 +0800 Subject: [PATCH] move the device after the options when using mkfs.ext4 Signed-off-by: zouyee --- plugins/snapshots/devmapper/pool_device_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/snapshots/devmapper/pool_device_test.go b/plugins/snapshots/devmapper/pool_device_test.go index 3c368a7e8..19a240732 100644 --- a/plugins/snapshots/devmapper/pool_device_test.go +++ b/plugins/snapshots/devmapper/pool_device_test.go @@ -235,9 +235,9 @@ func testCreateThinDevice(t *testing.T, pool *PoolDevice) { func testMakeFileSystem(t *testing.T, pool *PoolDevice) { devicePath := dmsetup.GetFullDevicePath(thinDevice1) args := []string{ - devicePath, "-E", "nodiscard,lazy_itable_init=0,lazy_journal_init=0", + devicePath, } output, err := exec.Command("mkfs.ext4", args...).CombinedOutput()