Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Kinglong Mee and committed by
J. Bruce Fields
2ce02b6b dfeecc82

+2
+2
fs/nfsd/nfs4state.c
··· 999 999 spin_unlock(&nn->client_lock); 1000 1000 memcpy(&new->se_fchannel, &cses->fore_channel, 1001 1001 sizeof(struct nfsd4_channel_attrs)); 1002 + memcpy(&new->se_bchannel, &cses->back_channel, 1003 + sizeof(struct nfsd4_channel_attrs)); 1002 1004 if (cses->flags & SESSION4_BACK_CHAN) { 1003 1005 struct sockaddr *sa = svc_addr(rqstp); 1004 1006 /*