summaryrefslogtreecommitdiff
path: root/fs/afs/rxrpc.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2018-05-12 02:28:58 +0300
committerDavid Howells <dhowells@redhat.com>2018-05-14 17:15:19 +0300
commit428edade4e6c70e5b51fcd4188d944fbb744d84c (patch)
treed2716cea9442e5bdddca00c6bc840d8f6bb977d5 /fs/afs/rxrpc.c
parent68251f0a6818f3be19b1471f36c956ca97c1427d (diff)
downloadlinux-428edade4e6c70e5b51fcd4188d944fbb744d84c.tar.xz
afs: Fix CB.CallBack handling
The handling of CB.CallBack messages sent by the fileserver to the client is broken in that they are currently being processed after the reply has been transmitted. This is not what the fileserver expects, however. It holds up change visibility until the reply comes so as to maintain cache coherency, and so expects the client to have to refetch the state on the affected files. Fix CB.CallBack handling to perform the callback break before sending the reply. The fileserver is free to hold up status fetches issued by other threads on the same client that occur in reponse to the callback until any pending changes have been committed. Fixes: d001648ec7cf ("rxrpc: Don't expose skbs to in-kernel users [ver #2]") Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/afs/rxrpc.c')
0 files changed, 0 insertions, 0 deletions