Skip to content

Commit f95a426

Browse files
zouyeek8s-infra-cherrypick-robot
authored andcommitted
move the device after the options when using mkfs.ext4
Signed-off-by: zouyee <[email protected]>
1 parent 6b5e19b commit f95a426

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)