common: allow dmflakey tests to work without udev
authorTheodore Ts'o <tytso@mit.edu>
Wed, 13 Aug 2014 01:20:57 +0000 (11:20 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 13 Aug 2014 01:20:57 +0000 (11:20 +1000)
commit2e0960f99e634f6372b0a56318152883d08642d0
tree0983dc4e2d3053d28b5c77de78440838be4bd2f1
parentc4a6eb0a03a8f200e7bf669d26fd9043fc6d2e02
common: allow dmflakey tests to work without udev

If udev is not present, we need to run "dmsetup mknodes" to make sure
/dev/mapper/flakey-test is created or destroyed as appropriate.  On a
system with udev, running "dmsetup mknodes" will be a no-op.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
common/dmflakey