summaryrefslogtreecommitdiffstats
path: root/fs/cifs/smbdirect.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/cifs/smbdirect.c')
-rw-r--r--fs/cifs/smbdirect.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/cifs/smbdirect.c b/fs/cifs/smbdirect.c
index f9234ed83a60..5130492847eb 100644
--- a/fs/cifs/smbdirect.c
+++ b/fs/cifs/smbdirect.c
@@ -1855,7 +1855,8 @@ try_again:
1855 * consumed. But this will require more changes to upper layer code, and also 1855 * consumed. But this will require more changes to upper layer code, and also
1856 * need to consider packet boundaries while they still being reassembled. 1856 * need to consider packet boundaries while they still being reassembled.
1857 */ 1857 */
1858int smbd_recv_buf(struct smbd_connection *info, char *buf, unsigned int size) 1858static int smbd_recv_buf(struct smbd_connection *info, char *buf,
1859 unsigned int size)
1859{ 1860{
1860 struct smbd_response *response; 1861 struct smbd_response *response;
1861 struct smbd_data_transfer *data_transfer; 1862 struct smbd_data_transfer *data_transfer;
@@ -1992,7 +1993,7 @@ read_rfc1002_done:
1992 * to_read: the length of data to read 1993 * to_read: the length of data to read
1993 * return value: actual data read 1994 * return value: actual data read
1994 */ 1995 */
1995int smbd_recv_page(struct smbd_connection *info, 1996static int smbd_recv_page(struct smbd_connection *info,
1996 struct page *page, unsigned int to_read) 1997 struct page *page, unsigned int to_read)
1997{ 1998{
1998 int ret; 1999 int ret;