• Tuomas Tynkkynen's avatar
    net/9p: Switch to wait_event_killable() · 9523feac
    Tuomas Tynkkynen authored
    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.
    
    Cc: stable@vger.kernel.org
    Signed-off-by: default avatarTuomas Tynkkynen <tuomas@tuxera.com>
    Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
    9523feac
trans_virtio.c 19.3 KB