summaryrefslogtreecommitdiffstats
path: root/fs/cifs/smbdirect.h
diff options
context:
space:
mode:
authorLong Li <longli@microsoft.com>2018-05-30 12:48:02 -0700
committerSteve French <stfrench@microsoft.com>2018-06-05 17:43:59 -0500
commit7cf20bce77581bb72af72835e73c9a47d4346b70 (patch)
treef74855aad9bed242d7ace9e8af7a5121f8dce23e /fs/cifs/smbdirect.h
parent6509f50cd1167d9540df24578401a2032f0782f8 (diff)
downloadlinux-7cf20bce77581bb72af72835e73c9a47d4346b70.tar.bz2
CIFS: SMBD: Support page offset in memory registration
Change code to pass the correct page offset during memory registration for RDMA read/write. Signed-off-by: Long Li <longli@microsoft.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/smbdirect.h')
-rw-r--r--fs/cifs/smbdirect.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/smbdirect.h b/fs/cifs/smbdirect.h
index f9038daea194..1e419c21dc60 100644
--- a/fs/cifs/smbdirect.h
+++ b/fs/cifs/smbdirect.h
@@ -321,7 +321,7 @@ struct smbd_mr {
/* Interfaces to register and deregister MR for RDMA read/write */
struct smbd_mr *smbd_register_mr(
struct smbd_connection *info, struct page *pages[], int num_pages,
- int tailsz, bool writing, bool need_invalidate);
+ int offset, int tailsz, bool writing, bool need_invalidate);
int smbd_deregister_mr(struct smbd_mr *mr);
#else