From: Andy Adamson <andros@xxxxxxxxxx> Patch 9225185aa0cd29bf85dabca5978199a6b4a73ca6 "SQUASHME: pnfs-submit: highest backchannel slot used for !CONFIG_NFS_V4_1" removed a check for the session existance. Signed-off-by: Andy Adamson <andros@xxxxxxxxxx> --- fs/nfs/callback_xdr.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/fs/nfs/callback_xdr.c b/fs/nfs/callback_xdr.c index a77877c..92719f1 100644 --- a/fs/nfs/callback_xdr.c +++ b/fs/nfs/callback_xdr.c @@ -791,7 +791,8 @@ static __be32 nfs4_callback_compound(struct svc_rqst *rqstp, void *argp, void *r *hdr_res.status = status; *hdr_res.nops = htonl(nops); - nfs4_callback_free_slot(cps.session); + if (cps.session) + nfs4_callback_free_slot(cps.session); /* matched by cb_sequence find_client_with_session */ put_session_client(cps.session); dprintk("%s: done, status = %u\n", __func__, ntohl(status)); -- 1.6.6 -- 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