Andriy Gapon 8f128ff559 g_vfs_open: allow only one mount per device vnode
In other words, deny multiple read-only mounts of the same device.
Shared read-only mounts should theoretically be possible, but,
unfortunately, can not be implemented correctly using current
buffer cache code/interface and results in an eventual system crash.
Also, using nullfs seems to be a more efficient way to achieve the same
goal.

This gets us back to where we were before GEOM and where other BSDs are.

Submitted by:	pjd (idea for checking for shared mounting)
Discussed with:	phk, pjd
Silence from:	fs@, geom@
MFC after:	2 weeks
2010-04-03 08:53:53 +00:00
..
2010-01-25 16:58:58 +00:00
2010-03-18 13:11:43 +00:00
2010-01-25 16:10:22 +00:00
2010-02-18 22:28:12 +00:00
2009-12-28 20:08:01 +00:00
2009-04-10 04:08:34 +00:00