Re: [PATCH v6 1/3] xfstests: btrfs: add functions to create dm-error device
From: anand jain <hidden>
Date: 2015-08-18 04:29:32
Also in:
fstests
From: anand jain <hidden>
Date: 2015-08-18 04:29:32
Also in:
fstests
Hi Dave, All comments accepted thanks. except for this.
quoted
+_mount_dmerror() +{ + $MOUNT_PROG -t $FSTYP $MOUNT_OPTIONS $DMERROR_DEV $SCRATCH_MNT +}Should mirror _scratch_mount. _mount -t $FSTYP `_scratch_mount_options` $DMERROR_DEV $SCRATCH_MNT
`_scratch_mount_options` also returns $SCRATCH_DEV. in case of tests involving dmerror module, dmerror_init would use $SCRATCH_DEV as backing device and provide $DMERROR_DEV to be used instead of $SCRATCH_DEV. So I am proposing.. + _mount -t $FSTYP $SCRATCH_OPTIONS $MOUNT_OPTIONS $SELINUX_MOUNT_OPTIONS $* $DMERROR_DEV $SCRATCH_MNT Thanks, Anand