tegge 31d32eb7b1 Don't set flags on the mount structure before all permission checks have
been done.

Don't allow multiple mount operations with MNT_UPDATE at the same
time on the same mount point.  When the first mount operation
completed, MNT_UPDATE was cleared in the mount structure, causing
the second to complete as if it was a no-update mount operation
with the following bad side effects:

        - mount structure inserted multiple times onto the mountlist
        - vp->v_mountedhere incorrectly set, causing next namei
          operation walking into the mountpoint to crash with
          a locking against myself panic.

Plug a vnode leak in case vinvalbuf fails.
2000-08-09 01:57:11 +00:00
..
1999-10-29 18:09:36 +00:00
2000-07-29 10:07:38 +00:00
2000-06-29 09:26:26 +00:00
2000-06-10 19:21:20 +00:00
2000-07-28 22:40:04 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-11-14 13:54:44 +00:00
2000-05-01 20:32:07 +00:00
2000-04-22 15:13:06 +00:00
2000-07-28 22:41:56 +00:00
1999-08-28 01:08:13 +00:00
2000-04-29 11:32:15 +00:00
1999-11-21 19:03:20 +00:00
2000-07-29 10:07:38 +00:00
1999-08-28 01:08:13 +00:00
2000-06-10 07:12:40 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00