OSDN Git Service

Fix getting back a wrong relpath
authorLans Zhang <jia.zhang@windriver.com>
Sat, 26 Sep 2015 06:00:04 +0000 (14:00 +0800)
committerPeter Jones <pjones@redhat.com>
Mon, 5 Oct 2015 14:50:55 +0000 (10:50 -0400)
commit8eac2d517f199496484b11ee0a13a6f52c258a54
tree51a8df9359b600ccec191746ef46c76488ecf566
parent8a27d0a464cf685bb499e06d985b1e95ec66e406
Fix getting back a wrong relpath

If a device is mounted at more than one mount points, the relpath
may be created with unexpected result because there is no compare
before doing it.

Resolvs #34

Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
Signed-off-by: Peter Jones <pjones@redhat.com>
src/creator.c