Locking files while using Bind mounts

I was able to figure out the issue. It had nothing to do with bind mounts. It was a bug in my code where the FileStream was getting disposed prematurely allowing other module to acquire the lock in an unpredictable manner.
We can close this topic.

Thanks.