Re: [PATCH 2/3] xfstests: Add new standard loop handling functions

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

 



Add _create_loop_device and _destroy_loop_device to uniformly handle
loopback devices.

Signed-off-by: Tomas Racek <tracek@xxxxxxxxxx>


_create_loop_device()
{
	dev=`losetup -f --show $file` || _fail "Cannot associate $file with
	$dev"
	echo $dev
}


Looks good.
Reviewed-by: Rich Johnston <rjohnston@xxxxxxx>


_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs


[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux