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 ddca893..a19324a 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 da22eaf..2485e62 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;