]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
nfsd: remove nfsd4_session->se_bchannel
authorJeff Layton <jlayton@kernel.org>
Mon, 28 Oct 2024 14:26:26 +0000 (10:26 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Tue, 19 Nov 2024 01:23:08 +0000 (20:23 -0500)
This field is written and is never consulted again. Remove it.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs4state.c
fs/nfsd/state.h

index ddca893a88044d7483da4fda0999d25ddb17fe7f..a19324a68fb3b7405955222cff9147e1dbe57814 100644 (file)
@@ -2002,8 +2002,6 @@ static struct nfsd4_session *alloc_session(struct nfsd4_channel_attrs *fattrs,
        }
 
        memcpy(&new->se_fchannel, fattrs, sizeof(struct nfsd4_channel_attrs));
-       memcpy(&new->se_bchannel, battrs, sizeof(struct nfsd4_channel_attrs));
-
        return new;
 out_free:
        while (i--)
index da22eaff375524cdac3c68456355def432877dfa..2485e62347bd3690be8e598bc477a14011b2ed94 100644 (file)
@@ -304,7 +304,6 @@ struct nfsd4_session {
        struct nfs4_client      *se_client;
        struct nfs4_sessionid   se_sessionid;
        struct nfsd4_channel_attrs se_fchannel;
-       struct nfsd4_channel_attrs se_bchannel;
        struct nfsd4_cb_sec     se_cb_sec;
        struct list_head        se_conns;
        u32                     se_cb_prog;