diff options
author | Long Li <longli@microsoft.com> | 2018-05-30 22:48:02 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2018-06-06 01:43:59 +0300 |
commit | 7cf20bce77581bb72af72835e73c9a47d4346b70 (patch) | |
tree | f74855aad9bed242d7ace9e8af7a5121f8dce23e /fs/cifs/smbdirect.h | |
parent | 6509f50cd1167d9540df24578401a2032f0782f8 (diff) | |
download | linux-7cf20bce77581bb72af72835e73c9a47d4346b70.tar.xz |
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.h | 2 |
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 |