Skip to content

Commit 53f9ba7

Browse files
jtlaytonchucklever
authored andcommitted
nfsd: remove nfsd4_session->se_bchannel
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>
1 parent 6a404f4 commit 53f9ba7

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

fs/nfsd/nfs4state.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2002,8 +2002,6 @@ static struct nfsd4_session *alloc_session(struct nfsd4_channel_attrs *fattrs,
20022002
}
20032003

20042004
memcpy(&new->se_fchannel, fattrs, sizeof(struct nfsd4_channel_attrs));
2005-
memcpy(&new->se_bchannel, battrs, sizeof(struct nfsd4_channel_attrs));
2006-
20072005
return new;
20082006
out_free:
20092007
while (i--)

fs/nfsd/state.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,6 @@ struct nfsd4_session {
304304
struct nfs4_client *se_client;
305305
struct nfs4_sessionid se_sessionid;
306306
struct nfsd4_channel_attrs se_fchannel;
307-
struct nfsd4_channel_attrs se_bchannel;
308307
struct nfsd4_cb_sec se_cb_sec;
309308
struct list_head se_conns;
310309
u32 se_cb_prog;

0 commit comments

Comments
 (0)