summaryrefslogtreecommitdiff
path: root/fs/nfsd
diff options
context:
space:
mode:
authorKinglong Mee <kinglongmee@gmail.com>2013-11-26 18:25:20 +0400
committerJ. Bruce Fields <bfields@redhat.com>2014-01-04 03:18:46 +0400
commit2ce02b6b6cf3532df143b85a72bacd611a55616a (patch)
treeb1416a8c68847f1072b79805502018c78dd1cbae /fs/nfsd
parentdfeecc829eb8e4ccbbab2ebc9b81b4cebec7fad4 (diff)
downloadlinux-2ce02b6b6cf3532df143b85a72bacd611a55616a.tar.xz
Add missing recording of back channel attrs in nfsd4_session
commit 5b6feee9608dce7afd2646f457c93e612526d1d8 forgot recording the back channel attrs in nfsd4_session. nfsd just check the back channel attars by check_backchannel_attrs, but do not record it in nfsd4_session in the latest kernel. Signed-off-by: Kinglong Mee <kinglongmee@gmail.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd')
-rw-r--r--fs/nfsd/nfs4state.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index 105d6fa7c514..1aed9be56414 100644
--- a/fs/nfsd/nfs4state.c
+++ b/fs/nfsd/nfs4state.c
@@ -999,6 +999,8 @@ static void init_session(struct svc_rqst *rqstp, struct nfsd4_session *new, stru
spin_unlock(&nn->client_lock);
memcpy(&new->se_fchannel, &cses->fore_channel,
sizeof(struct nfsd4_channel_attrs));
+ memcpy(&new->se_bchannel, &cses->back_channel,
+ sizeof(struct nfsd4_channel_attrs));
if (cses->flags & SESSION4_BACK_CHAN) {
struct sockaddr *sa = svc_addr(rqstp);
/*