diff options
author | Trond Myklebust <trondmy@gmail.com> | 2019-04-09 17:46:15 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2019-04-24 15:46:34 +0200 |
commit | 8e5b67731d088e66fc6a59d9e2fc9a5e4e187303 (patch) | |
tree | de54300544bed6e8b1e7d0a270a6c0e5475b241e /fs/nfs | |
parent | SUNRPC/nfs: Fix return value for nfs4_callback_compound() (diff) | |
download | linux-8e5b67731d088e66fc6a59d9e2fc9a5e4e187303.tar.xz linux-8e5b67731d088e66fc6a59d9e2fc9a5e4e187303.zip |
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>
Diffstat (limited to 'fs/nfs')
-rw-r--r-- | fs/nfs/callback.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/callback.c b/fs/nfs/callback.c index 0b602a39dd71..a9510374bad7 100644 --- a/fs/nfs/callback.c +++ b/fs/nfs/callback.c @@ -457,4 +457,5 @@ static struct svc_program nfs4_callback_program = { .pg_class = "nfs", /* authentication class */ .pg_stats = &nfs4_callback_stats, .pg_authenticate = nfs_callback_authenticate, + .pg_init_request = svc_generic_init_request, }; |