diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-05-14 20:15:15 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-05-14 20:15:15 -0700 |
| commit | e246a5f2b9765059b88a86e968f219c6283cb4a9 (patch) | |
| tree | d29365e96eff251378fc3d1c14f0daefc017510e /include | |
| parent | 9ca0507d7f249ae16cc29cfe4f7c1e8f7bbd73dd (diff) | |
[PATCH] autofs4 race fix
From: Ian Kent <raven@themaw.net>
The case where two process similtaneously trigger a mount in autofs4 can
cause multiple requests to the daemon for the same mount. The daemon
handles this OK but it's possible an incorrect error to be returned. For
this reason I believe it is better to change the spin lock to a semaphore
in waitq.c. This makes the second and subsequent request wait on the q as
ther supposed to.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
