NFS associate sessionid with callback connection
authorAndy Adamson <andros@netapp.com>
Thu, 6 Jan 2011 02:04:31 +0000 (02:04 +0000)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 6 Jan 2011 19:46:24 +0000 (14:46 -0500)
commit2c2618c6f29c41a0a966f14f05c8bf45fcabb750
treec247cfda9f847028e1d43cab1e69d2cd8a2146a4
parentf4eecd5da3422e82e88e36c33cbd2595eebcacb1
NFS associate sessionid with callback connection

The sessions based callback service is started prior to the CREATE_SESSION call
so that it can handle CB_NULL requests which can be sent before the
CREATE_SESSION call returns and the session ID is known.

Set the callback sessionid after a sucessful CREATE_SESSION.

Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/callback.c
fs/nfs/callback.h
fs/nfs/nfs4state.c
include/linux/sunrpc/svc_xprt.h
net/sunrpc/svcsock.c