Skip to content

Commit

Permalink
cifs: remove smb2_send_recv()
Browse files Browse the repository at this point in the history
Now that we have the plumbing to pass request without an rfc1002
header all the way down to the point we write to the socket we no
longer need the smb2_send_recv() function.

Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
  • Loading branch information
Ronnie Sahlberg authored and Steve French committed Jun 15, 2018
1 parent c713c87 commit 40eff45
Show file tree
Hide file tree
Showing 3 changed files with 116 additions and 42 deletions.
4 changes: 0 additions & 4 deletions fs/cifs/cifsproto.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,6 @@ extern int SendReceive2(const unsigned int /* xid */ , struct cifs_ses *,
struct kvec *, int /* nvec to send */,
int * /* type of buf returned */, const int flags,
struct kvec * /* resp vec */);
extern int smb2_send_recv(const unsigned int xid, struct cifs_ses *pses,
struct kvec *pkvec, int nvec_to_send,
int *pbuftype, const int flags,
struct kvec *presp);
extern int SendReceiveBlockingLock(const unsigned int xid,
struct cifs_tcon *ptcon,
struct smb_hdr *in_buf ,
Expand Down
Loading

0 comments on commit 40eff45

Please sign in to comment.