Make umount scripts run in the opposite order of mount scripts

At VPS mount time the following scripts are run:
/etc/vz/conf/vps.mount
/etc/vz/conf/<VEID>.mount

At VPS umount time the following scripts are run:
/etc/vz/conf/vps.umount
/etc/vz/conf/<VEID>.umount

I mount /mnt from vps.mount and mount /mnt/veid from <VEID>.mount
I would like to umount /mnt/veid from <VEID>.mount and
umount /mnt from vps.mount. But the scripts run in the wrong order.
1 file changed