diff options
author | Ian Kent <raven@themaw.net> | 2005-05-01 17:59:16 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-01 17:59:16 +0200 |
commit | 4dcd00b18118d174c4b8d838c11f437f0af3c20c (patch) | |
tree | 0e7497aa50c383e64f34616819066fc0bfe3c56d /fs/autofs4/autofs_i.h | |
parent | [PATCH] hfs, hfsplus: don't leak s_fs_info and fix an oops (diff) | |
download | linux-4dcd00b18118d174c4b8d838c11f437f0af3c20c.tar.xz linux-4dcd00b18118d174c4b8d838c11f437f0af3c20c.zip |
[PATCH] autofs4: wait order fix
It's possible for an event wait request to arive before the event
requestor. If this happens the daemon never gets notified and autofs
hangs.
Signed-off-by: Ian Kent <raven@themaw.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/autofs4/autofs_i.h')
-rw-r--r-- | fs/autofs4/autofs_i.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/autofs4/autofs_i.h b/fs/autofs4/autofs_i.h index f5a52c871726..978987735252 100644 --- a/fs/autofs4/autofs_i.h +++ b/fs/autofs4/autofs_i.h @@ -84,6 +84,7 @@ struct autofs_wait_queue { char *name; /* This is for status reporting upon return */ int status; + atomic_t notified; atomic_t wait_ctr; }; |