]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfstests: Add new standard loop handling functions
authorTomas Racek <tracek@redhat.com>
Tue, 12 Feb 2013 09:21:59 +0000 (09:21 +0000)
committerRich Johnston <rjohnston@sgi.com>
Tue, 26 Feb 2013 15:22:24 +0000 (09:22 -0600)
commit29fe8007e75bf8983fa1267ae2850787262f17c1
tree686adc95a42b1e4e9fbdd61b6c400150a4009b85
parent03b0089e9b18ee6b4e5e990db98a1f545cc2521b
xfstests: Add new standard loop handling functions

Add _create_loop_device and _destroy_loop_device to uniformly handle
loopback devices.

V1->V2: Fix possible race

Signed-off-by: Tomas Racek <tracek@redhat.com>
Reviewed-by: Rich Johnston <rjohnston@sgi.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
common.rc