summaryrefslogtreecommitdiff
path: root/fs/cifs/smbdirect.h
diff options
context:
space:
mode:
authorSteve French <smfrench@gmail.com>2018-01-25 18:28:25 +0300
committerSteve French <smfrench@gmail.com>2018-01-27 02:03:00 +0300
commit6b314714ff6337465a730195952e1b1f10d97063 (patch)
tree40654b0f6e053fb55cce05a0a995842083f5a335 /fs/cifs/smbdirect.h
parent97f4b7276b829a8927ac903a119bef2f963ccc58 (diff)
downloadlinux-6b314714ff6337465a730195952e1b1f10d97063.tar.xz
move a few externs to smbdirect.h to eliminate warning
Quiet minor sparse warnings in new SMB3 rdma patch series ("symbol was not declared ...") by moving these externs to smbdirect.h Signed-off-by: Steve French <smfrench@gmail.com> Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
Diffstat (limited to 'fs/cifs/smbdirect.h')
-rw-r--r--fs/cifs/smbdirect.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/fs/cifs/smbdirect.h b/fs/cifs/smbdirect.h
index fdb8df84fa1f..f9038daea194 100644
--- a/fs/cifs/smbdirect.h
+++ b/fs/cifs/smbdirect.h
@@ -24,6 +24,15 @@
#include <rdma/rdma_cm.h>
#include <linux/mempool.h>
+extern int rdma_readwrite_threshold;
+extern int smbd_max_frmr_depth;
+extern int smbd_keep_alive_interval;
+extern int smbd_max_receive_size;
+extern int smbd_max_fragmented_recv_size;
+extern int smbd_max_send_size;
+extern int smbd_send_credit_target;
+extern int smbd_receive_credit_max;
+
enum keep_alive_status {
KEEP_ALIVE_NONE,
KEEP_ALIVE_PENDING,