commit | e64be33ccaceaca67c84237dff8805b861398eab | [log] [tgz] |
---|---|---|
author | Ian Kent <raven@themaw.net> | Wed Jul 23 21:30:20 2008 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Jul 24 10:47:32 2008 -0700 |
tree | 574c0eed196ac6115e0f042c1e4564d1b85474d2 | |
parent | f4c7da02615bebcaf89f15a8d055922f515160b8 [diff] |
autofs4: check kernel communication pipe is valid for write It is possible for an autofs mount to become catatonic (and for the daemon communication pipe to become NULL) after a wait has been initiallized but before the request has been sent to the daemon. We need to check for this before sending the request packet. Signed-off-by: Ian Kent <raven@themaw.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>