diff options
author | Tuomas Tynkkynen <tuomas@tuxera.com> | 2017-09-06 17:59:08 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-30 08:37:25 +0000 |
commit | fd3c395d4d466a8d76c6afd01c9a0e718daf6ca4 (patch) | |
tree | 49e6c7e006d5ef47d2d9da41751c7b5aa44b24c0 /fs/sysv | |
parent | 91bd72dd8c72c603132bbbfd348a4216b8c83f58 (diff) |
net/9p: Switch to wait_event_killable()
commit 9523feac272ccad2ad8186ba4fcc89103754de52 upstream.
Because userspace gets Very Unhappy when calls like stat() and execve()
return -EINTR on 9p filesystem mounts. For instance, when bash is
looking in PATH for things to execute and some SIGCHLD interrupts
stat(), bash can throw a spurious 'command not found' since it doesn't
retry the stat().
In practice, hitting the problem is rare and needs a really
slow/bogged down 9p server.
Signed-off-by: Tuomas Tynkkynen <tuomas@tuxera.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/sysv')
0 files changed, 0 insertions, 0 deletions