Here's a second patch, which I decided to make cumulative. This includes fixes for both race conditions against the mountpoint, which should fix the ability to mount or unmount arbitrary locations. It still includes the fixes for improper mtab handling.
Here's a second patch, which I decided to make cumulative. This includes fixes for both race conditions against the mountpoint, which should fix the ability to mount or unmount arbitrary locations. It still includes the fixes for improper mtab handling.
Untested.