Skip to content

Commit b983786

Browse files
committed
move the device after the options when using mkfs.ext4
Signed-off-by: zouyee <[email protected]>
1 parent 59c8cf6 commit b983786

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/snapshots/devmapper/pool_device_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,9 +235,9 @@ func testCreateThinDevice(t *testing.T, pool *PoolDevice) {
235235
func testMakeFileSystem(t *testing.T, pool *PoolDevice) {
236236
devicePath := dmsetup.GetFullDevicePath(thinDevice1)
237237
args := []string{
238-
devicePath,
239238
"-E",
240239
"nodiscard,lazy_itable_init=0,lazy_journal_init=0",
240+
devicePath,
241241
}
242242

243243
output, err := exec.Command("mkfs.ext4", args...).CombinedOutput()

0 commit comments

Comments
 (0)