kernel/fs/cifs/misc.c
.. .. @@ -974,8 +974,8 @@ 974 974 * Input: rqst - a smb_rqst, page - a page index for rqst 975 975 * Output: *len - the length for this page, *offset - the offset for this page 976 976 */ 977 -void rqst_page_get_length(struct smb_rqst *rqst, unsigned int page,978 - unsigned int *len, unsigned int *offset)977 +void rqst_page_get_length(const struct smb_rqst *rqst, unsigned int page,978 + unsigned int *len, unsigned int *offset)979 979 { 980 980 *len = rqst->rq_pagesz; 981 981 *offset = (page == 0) ? rqst->rq_offset : 0;