Bruce Evans
d02601f8cf
Fixed rev.1.81. mp->mnt_kern_flag was restored in the non-error case of
...
`mount -u'. This only matters for `mount -u' competing with unmounts.
If I understand the locking correctly: if mount() blocks, then unmount()
may run and set mp->kern_flag for the same mp. Then unmount() blocks
waiting for mount() to finish. When unmount() continues, its MNTK flags
(MNTK_UNMOUNT and MNTK_MWAIT) may have been clobbered.
Didn't fix old bugs:
- restoring mp->mnt_kern_flag is wrong for the same reasons in the error
case.
- the error case of unmount() seems to be broken too:
(a) MNTK_UNMOUNT gets clobbered, although another unmount() may have
set it. Perhaps it shouldn't be set until after the full lock is
aquired.
(b) MNTK_MWAIT isn't honoured.
Fixed a nearby style bug.
1997-11-22 06:10:36 +00:00
..
1997-09-02 20:06:59 +00:00
1997-09-21 03:13:21 +00:00
1997-09-02 20:06:59 +00:00
1997-08-02 14:33:27 +00:00
1997-10-12 20:26:33 +00:00
1997-11-07 08:53:44 +00:00
1997-10-26 20:28:54 +00:00
1997-08-02 14:33:27 +00:00
1997-11-06 19:29:57 +00:00
1997-11-18 12:24:22 +00:00
1997-09-27 13:40:20 +00:00
1997-11-06 19:29:57 +00:00
1997-11-06 19:29:57 +00:00
1997-11-20 19:09:43 +00:00
1997-11-20 16:36:17 +00:00
1997-10-06 04:27:32 +00:00
1997-11-06 19:29:57 +00:00
1997-11-20 20:07:59 +00:00
1997-11-06 19:29:57 +00:00
1997-11-07 08:53:44 +00:00
1997-10-12 20:26:33 +00:00
1997-10-28 19:01:02 +00:00
1997-10-19 18:45:59 +00:00
1997-11-07 08:53:44 +00:00
1997-11-06 19:29:57 +00:00
1997-02-28 10:14:24 +00:00
1997-09-02 20:06:59 +00:00
1997-10-12 20:26:33 +00:00
1997-11-06 19:29:57 +00:00
1997-10-28 15:59:26 +00:00
1997-11-07 08:53:44 +00:00
1997-11-18 15:16:43 +00:00
1997-11-06 19:29:57 +00:00
1997-10-10 18:14:23 +00:00
1997-11-21 11:37:03 +00:00
1997-11-06 19:29:57 +00:00
1997-11-18 12:24:22 +00:00
1997-11-07 08:53:44 +00:00
1997-11-07 08:53:44 +00:00
1997-11-18 12:24:22 +00:00
1997-11-06 19:29:57 +00:00
1997-11-20 20:07:59 +00:00
1997-02-22 09:48:43 +00:00
1996-03-31 18:53:43 +00:00
1997-11-18 03:34:39 +00:00
1997-10-21 13:28:36 +00:00
1997-11-18 12:43:41 +00:00
1997-10-12 20:26:33 +00:00
1997-11-07 08:53:44 +00:00
1997-09-27 15:34:34 +00:00
1997-11-07 09:21:01 +00:00
1997-02-22 09:48:43 +00:00
1997-10-28 15:59:26 +00:00
1997-06-14 11:38:46 +00:00
1997-10-12 20:26:33 +00:00
1997-11-06 19:29:57 +00:00
1997-09-16 11:44:05 +00:00
1997-11-07 19:58:34 +00:00
1997-11-06 19:29:57 +00:00
1997-09-14 02:50:28 +00:00
1997-11-06 19:29:57 +00:00
1997-11-07 08:53:44 +00:00
1997-11-12 12:28:12 +00:00
1997-09-14 02:52:18 +00:00
1997-10-26 20:28:54 +00:00
1997-10-26 20:27:51 +00:00
1997-11-18 12:52:10 +00:00
1997-11-06 19:29:57 +00:00
1997-11-06 19:29:57 +00:00
1997-11-06 19:29:57 +00:00
1997-08-02 14:33:27 +00:00
1997-02-22 09:48:43 +00:00
1997-09-14 03:19:42 +00:00
1997-09-16 11:44:05 +00:00
1997-11-18 16:12:51 +00:00
1997-10-12 20:26:33 +00:00
1997-02-22 09:48:43 +00:00
1997-11-18 12:59:09 +00:00
1997-11-07 08:53:44 +00:00
1997-09-16 11:44:05 +00:00
1997-10-28 15:59:26 +00:00
1997-08-02 14:33:27 +00:00
1997-09-07 16:53:52 +00:00
1997-09-07 16:53:52 +00:00
1997-11-09 05:07:40 +00:00
1997-11-06 19:29:57 +00:00
1997-11-07 08:53:44 +00:00
1997-11-18 10:02:40 +00:00
1997-11-07 08:53:44 +00:00
1997-11-07 08:53:44 +00:00
1997-11-07 08:53:44 +00:00
1997-11-07 08:53:44 +00:00
1997-11-18 13:03:48 +00:00
1997-11-12 05:42:33 +00:00
1997-11-22 06:10:36 +00:00
1997-10-26 20:26:33 +00:00
1997-09-21 04:24:27 +00:00
1997-11-07 08:53:44 +00:00
1997-11-12 05:42:33 +00:00
1997-11-22 06:10:36 +00:00
1997-11-07 08:53:44 +00:00
1997-10-28 15:59:26 +00:00
1997-10-28 15:59:26 +00:00
1997-10-16 20:32:40 +00:00