RE: [PATCH resend] cifs: Do not modify mid entry after submitting I/O in cifs_call_async

2017-06-28 Thread Long Li
[PATCH resend] cifs: Do not modify mid entry after submitting > I/O in cifs_call_async > > 2017-06-28 11:05 GMT-07:00 Long Li : > > From: Long Li > > > > In cifs_call_async, server response may return as soon as I/O is submitted. > > Because mid entry is freed on

Re: [PATCH resend] cifs: Do not modify mid entry after submitting I/O in cifs_call_async

2017-06-28 Thread Pavel Shilovsky
2017-06-28 11:05 GMT-07:00 Long Li : > From: Long Li > > In cifs_call_async, server response may return as soon as I/O is submitted. > Because mid entry is freed on the return path, do not modify it after I/O is > submitted. > > Signed-off-by: Long Li > --- > fs/cifs/transport.c | 2 +- > 1 file

[PATCH resend] cifs: Do not modify mid entry after submitting I/O in cifs_call_async

2017-06-28 Thread Long Li
From: Long Li In cifs_call_async, server response may return as soon as I/O is submitted. Because mid entry is freed on the return path, do not modify it after I/O is submitted. Signed-off-by: Long Li --- fs/cifs/transport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/f