mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-06 05:02:31 +00:00
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>
This commit is contained in:
parent
6a404f475f
commit
53f9ba78e0
@ -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_fchannel, fattrs, sizeof(struct nfsd4_channel_attrs));
|
||||||
memcpy(&new->se_bchannel, battrs, sizeof(struct nfsd4_channel_attrs));
|
|
||||||
|
|
||||||
return new;
|
return new;
|
||||||
out_free:
|
out_free:
|
||||||
while (i--)
|
while (i--)
|
||||||
|
@ -304,7 +304,6 @@ struct nfsd4_session {
|
|||||||
struct nfs4_client *se_client;
|
struct nfs4_client *se_client;
|
||||||
struct nfs4_sessionid se_sessionid;
|
struct nfs4_sessionid se_sessionid;
|
||||||
struct nfsd4_channel_attrs se_fchannel;
|
struct nfsd4_channel_attrs se_fchannel;
|
||||||
struct nfsd4_channel_attrs se_bchannel;
|
|
||||||
struct nfsd4_cb_sec se_cb_sec;
|
struct nfsd4_cb_sec se_cb_sec;
|
||||||
struct list_head se_conns;
|
struct list_head se_conns;
|
||||||
u32 se_cb_prog;
|
u32 se_cb_prog;
|
||||||
|
Loading…
Reference in New Issue
Block a user