]> git.baikalelectronics.ru Git - kernel.git/commit
CIFS: Introduce helper function to get page offset and length in smb_rqst
authorLong Li <longli@microsoft.com>
Wed, 30 May 2018 19:47:58 +0000 (12:47 -0700)
committerSteve French <stfrench@microsoft.com>
Tue, 5 Jun 2018 22:41:00 +0000 (17:41 -0500)
commit1b5570dac55dbaf36aec12a0ff80488020385f15
tree216f146f9c716800d304ed0ac329fb2ad91977b0
parent911535c4741351dd86ad57e661ea93efc6c992f2
CIFS: Introduce helper function to get page offset and length in smb_rqst

Introduce a function rqst_page_get_length to return the page offset and
length for a given page in smb_rqst. This function is to be used by
following patches.

Signed-off-by: Long Li <longli@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifsproto.h
fs/cifs/misc.c