solves dependencies problem, endless loop 

I suppose this needs fixing in mountall original code, but for the time being.

specific case like this:

fs                   mountpoint
zfs                  /zfs
zfs/home             /home
zfs/home/1           /zfs/test/1
zfs/test             /zfs/test

mountall ended up in an endless loop, waiting for dependencies. if mounts are read ordered by mount points, it's ok.