[pnfs] [PATCH 02/10] nfs41: Client indicates presence of NFSv4.1 callback channel.

Ricardo Labiaga ricardo.labiaga at netapp.com
Thu Jan 31 06:56:59 EST 2008


Set the SESSION4_BACK_CHAN flag to indicate the client supports a backchannel.

Signed-off-by: Ricardo Labiaga <ricardo.labiaga at netapp.com>
---
 fs/nfs/nfs4proc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index 74596ee..1ea2d73 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -4747,7 +4747,7 @@ int _nfs4_proc_create_session(struct nfs_client *clp, struct nfs4_session *sessi
 	int status;
 
 	nfs4_init_channel_attrs(clp, &args.fc_attrs, &args.bc_attrs);
-	args.flags = (SESSION4_PERSIST);
+	args.flags = (SESSION4_PERSIST | SESSION4_BACK_CHAN);
 
 	status = rpc_call_sync(clnt, &msg, 0);
 
-- 
1.5.3.3


More information about the pNFS mailing list