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. 

at line 1329 in procedure mount_policy is a test for kernel filesystems (nodev) which puts parent device (prior processed entry) into dependencies, creating a loop in this example.