]> git.karo-electronics.de Git - linux-beck.git/commitdiff
nfs41: Client indicates presence of NFSv4.1 callback channel.
authorAndy Adamson <andros@netapp.com>
Wed, 1 Apr 2009 13:23:16 +0000 (09:23 -0400)
committerBenny Halevy <bhalevy@panasas.com>
Wed, 17 Jun 2009 21:11:33 +0000 (14:11 -0700)
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>
fs/nfs/nfs4proc.c

index f1f087b483ceaa0907a952eb1e1ed5f4548894a4..4213c8814997047a2ad424b230800396cf08d3ee 100644 (file)
@@ -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);