hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/fs/cifs/misc.c
....@@ -974,8 +974,8 @@
974974 * Input: rqst - a smb_rqst, page - a page index for rqst
975975 * Output: *len - the length for this page, *offset - the offset for this page
976976 */
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)
979979 {
980980 *len = rqst->rq_pagesz;
981981 *offset = (page == 0) ? rqst->rq_offset : 0;