diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-01-23 20:12:52 +0100 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-01-24 23:12:47 +0100 |
commit | f4f58ed19b9ee303985f47352f795631a979294c (patch) | |
tree | 052baa5bbcd53ae10e578d37f68c6e547249adba /fs/nfs/nfs4proc.c | |
parent | Linux 4.5-rc1 (diff) | |
download | linux-f4f58ed19b9ee303985f47352f795631a979294c.tar.xz linux-f4f58ed19b9ee303985f47352f795631a979294c.zip |
NFSv4.x: Remove hard coded slotids in callback channel
Instead, use the values encoded in the slot table itself.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/nfs4proc.c')
-rw-r--r-- | fs/nfs/nfs4proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index 4bfc33ad0563..be685e236bd5 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c @@ -7319,7 +7319,7 @@ static void nfs4_init_channel_attrs(struct nfs41_create_session_args *args) args->bc_attrs.max_resp_sz = PAGE_SIZE; args->bc_attrs.max_resp_sz_cached = 0; args->bc_attrs.max_ops = NFS4_MAX_BACK_CHANNEL_OPS; - args->bc_attrs.max_reqs = 1; + args->bc_attrs.max_reqs = NFS41_BC_MAX_CALLBACKS; dprintk("%s: Back Channel : max_rqst_sz=%u max_resp_sz=%u " "max_resp_sz_cached=%u max_ops=%u max_reqs=%u\n", |