mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
constify blk_rq_map_user_iov() and friends
sg_iovec array passed to it can be const Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
480f40de91
commit
86d564c84c
4 changed files with 11 additions and 10 deletions
|
|
@ -188,7 +188,7 @@ EXPORT_SYMBOL(blk_rq_map_user);
|
|||
* unmapping.
|
||||
*/
|
||||
int blk_rq_map_user_iov(struct request_queue *q, struct request *rq,
|
||||
struct rq_map_data *map_data, struct sg_iovec *iov,
|
||||
struct rq_map_data *map_data, const struct sg_iovec *iov,
|
||||
int iov_count, unsigned int len, gfp_t gfp_mask)
|
||||
{
|
||||
struct bio *bio;
|
||||
|
|
|
|||
Loading…
Reference in a new issue