]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
init-rbdmap: fix for recursive umount
authorLaurent Barbe <laurent@ksperis.com>
Tue, 13 Aug 2013 15:16:35 +0000 (17:16 +0200)
committerLaurent Barbe <laurent@ksperis.com>
Tue, 13 Aug 2013 16:06:14 +0000 (18:06 +0200)
commitd9cb2ead36e1338079da624e1b95e9621bfda1ef
tree82593ff62abd65efd3b19722b49bdd316667a6b0
parentb9a5664bbbb7d65f51a39d03247390911f999a48
init-rbdmap: fix for recursive umount

Umount is not always done in the correct order.
For exemple in that case :
/dev/rbd1 on /myrbd
/dev/rbd2 on /myrbd/.snapshots/@GMT-2013.08.09-10.14.44
rbd2 should be umounted before rbd1

Signed-off-by: Laurent Barbe <laurent@ksperis.com>
src/init-rbdmap