diff options
author | Sachin Prabhu <sprabhu@redhat.com> | 2014-06-16 15:35:24 +0100 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2014-07-31 23:11:15 -0500 |
commit | 6d81ed1ec22dbe96b85a5eb6422b2ab0556f7cbc (patch) | |
tree | d531d22859f8cd6a0c2836f548431cffb3900419 /fs/cifs/cifsproto.h | |
parent | 6f0928036bcbd8dd2ebee9201580da8bcc0a81af (diff) | |
download | linux-6d81ed1ec22dbe96b85a5eb6422b2ab0556f7cbc.tar.bz2 |
cifs: replace code with free_rsp_buf()
The functionality provided by free_rsp_buf() is duplicated in a number
of places. Replace these instances with a call to free_rsp_buf().
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
Reviewed-by: Shirish Pargaonkar <spargaonkar@suse.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/cifsproto.h')
-rw-r--r-- | fs/cifs/cifsproto.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h index ca7980a1e303..de49d7a37b00 100644 --- a/fs/cifs/cifsproto.h +++ b/fs/cifs/cifsproto.h @@ -36,6 +36,7 @@ extern struct smb_hdr *cifs_buf_get(void); extern void cifs_buf_release(void *); extern struct smb_hdr *cifs_small_buf_get(void); extern void cifs_small_buf_release(void *); +extern void free_rsp_buf(int, void *); extern void cifs_rqst_page_to_kvec(struct smb_rqst *rqst, unsigned int idx, struct kvec *iov); extern int smb_send(struct TCP_Server_Info *, struct smb_hdr *, |