summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Adamson <andros@netapp.com>2009-04-01 09:23:16 -0400
committerBenny Halevy <bhalevy@panasas.com>2009-06-17 14:11:33 -0700
commit0f91421e8ea986c990c01bf091ceff1d59c165ff (patch)
tree2b78fce5cb8b2d939c3b06a07027c1792c0a938e
parent0b5b7ae0a853c91015bb3b1729166ca65f693322 (diff)
downloadop-kernel-dev-0f91421e8ea986c990c01bf091ceff1d59c165ff.zip
op-kernel-dev-0f91421e8ea986c990c01bf091ceff1d59c165ff.tar.gz
nfs41: Client indicates presence of NFSv4.1 callback channel.
Set the SESSION4_BACK_CHAN flag to indicate the client supports a backchannel. Signed-off-by: Ricardo Labiaga <ricardo.labiaga@netapp.com> Signed-off-by: Benny Halevy <bhalevy@panasas.com>
-rw-r--r--fs/nfs/nfs4proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index f1f087b..4213c88 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -4598,7 +4598,7 @@ static int _nfs4_proc_create_session(struct nfs_client *clp)
int status;
nfs4_init_channel_attrs(&args);
- args.flags = (SESSION4_PERSIST);
+ args.flags = (SESSION4_PERSIST | SESSION4_BACK_CHAN);
status = rpc_call_sync(session->clp->cl_rpcclient, &msg, 0);
OpenPOWER on IntegriCloud