summaryrefslogtreecommitdiff
path: root/include/linux/compat_ioctl.h
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-05-14 20:15:15 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-05-14 20:15:15 -0700
commite246a5f2b9765059b88a86e968f219c6283cb4a9 (patch)
treed29365e96eff251378fc3d1c14f0daefc017510e /include/linux/compat_ioctl.h
parent9ca0507d7f249ae16cc29cfe4f7c1e8f7bbd73dd (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/linux/compat_ioctl.h')
0 files changed, 0 insertions, 0 deletions