common/dmerror: fix mount option issues
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 4 Aug 2016 00:34:35 +0000 (17:34 -0700)
committerEryu Guan <eguan@redhat.com>
Fri, 5 Aug 2016 02:32:10 +0000 (10:32 +0800)
commit27516d43f4d8a64cc36663e4516d33c0cd0208d1
tree3acb79f32834b571b03b3d0d790b8f928e154854
parentf9261d36461e7327d6d97ba5481d6066fe05aba1
common/dmerror: fix mount option issues

Calling _mount doesn't work when we want to add mount options such
as realtime devices. Fix it by calling _scratch_options first then
mount with $SCRATCH_OPTIONS.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
common/dmerror