afs: Close the rxrpc socket only after purging the servers
authorDavid Howells <dhowells@redhat.com>
Thu, 2 Nov 2017 15:27:45 +0000 (15:27 +0000)
committerDavid Howells <dhowells@redhat.com>
Mon, 13 Nov 2017 15:38:16 +0000 (15:38 +0000)
commite3b2ffe0f0e1471854dc53bb69ff452e65cc88f2
tree1b0ca949be15a37db9f5be7fffe3dddb389d0faf
parentf044c8847bb61eff5e1e95b6f6bb950e7f4a73a4
afs: Close the rxrpc socket only after purging the servers

Close the rxrpc socket only after we've purged the server records (and also
cell and volume records which might refer to servers) so that we can give
up the callbacks on each server.

Signed-off-by: David Howells <dhowells@redhat.com>
fs/afs/main.c