Currently we assign a constant 1. Squash into "nfsd41: callback infrastructure" Signed-off-by: Benny Halevy <bhalevy@xxxxxxxxxxx> --- fs/nfsd/nfs4state.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index e5c7ddb..b7c4ed0 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c @@ -1418,7 +1418,8 @@ nfsd4_create_session(struct svc_rqst *rqstp, if (cr_ses->flags & SESSION4_BACK_CHAN) { unconf->cl_cb_xprt = rqstp->rq_xprt; svc_xprt_get(unconf->cl_cb_xprt); - unconf->cl_callback.cb_minorversion = 1; + unconf->cl_callback.cb_minorversion = + cstate->minorversion; unconf->cl_cb_seq_nr = 0; unconf->cl_callback.cb_prog = cr_ses->callback_prog; nfsd4_probe_callback(unconf); -- 1.6.2.1 -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html