SUNRPC: Add a callback to initialise server requests
authorTrond Myklebust <trondmy@gmail.com>
Tue, 9 Apr 2019 15:46:15 +0000 (11:46 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 24 Apr 2019 13:46:34 +0000 (09:46 -0400)
commit8e5b67731d088e66fc6a59d9e2fc9a5e4e187303
treede54300544bed6e8b1e7d0a270a6c0e5475b241e
parent83dd59a0b9afc3b1a2642fb5c9b0585b1c08768f
SUNRPC: Add a callback to initialise server requests

Add a callback to help initialise server requests before they are
processed. This will allow us to clean up the NFS server version
support, and to make it container safe.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/lockd/svc.c
fs/nfs/callback.c
fs/nfsd/nfssvc.c
include/linux/sunrpc/svc.h
net/sunrpc/svc.c