mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
net/9p: handle correctly interrupted 9P requests
Currently the 9p code crashes when a operation is interrupted, i.e. for example when the user presses ^C while reading from a file. This patch fixes the code that is responsible for interruption and flushing of 9P operations. Signed-off-by: Latchesar Ionkov <[email protected]>
This commit is contained in:
parent
742b11a7ec
commit
1bab88b231
5 changed files with 30 additions and 61 deletions
|
|
@ -98,7 +98,6 @@ enum p9_req_status_t {
|
|||
struct p9_req_t {
|
||||
int status;
|
||||
int t_err;
|
||||
u16 flush_tag;
|
||||
wait_queue_head_t *wq;
|
||||
struct p9_fcall *tc;
|
||||
struct p9_fcall *rc;
|
||||
|
|
|
|||
Loading…
Reference in a new issue