]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: Call MID callback before destroying transport
authorLong Li <longli@microsoft.com>
Fri, 5 Apr 2019 21:36:35 +0000 (21:36 +0000)
committerSteve French <stfrench@microsoft.com>
Wed, 8 May 2019 04:24:55 +0000 (23:24 -0500)
commitca196a56ea221061ea98b4943934d3ba722d3a31
treee15063527ebd3ff0e751f4e0f48e562a3a110bcc
parent1971476b2c7182c714f7cefb2d3fbc6a78added5
cifs: Call MID callback before destroying transport

When transport is being destroyed, it's possible that some processes may
hold memory registrations that need to be deregistred.

Call them first so nobody is using transport resources, and it can be
destroyed.

Signed-off-by: Long Li <longli@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/connect.c