diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-02-08 20:42:52 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-04-01 23:19:31 -0400 |
commit | 86d564c84c38b1ec06d9f2120d6a7373dcaeff0c (patch) | |
tree | 4beaed1ab50eada4439301c72260d99419fd71e5 /block/blk-map.c | |
parent | 480f40de91e74190281309fd0ecb2d0414603c2e (diff) | |
download | linux-86d564c84c38b1ec06d9f2120d6a7373dcaeff0c.tar.gz linux-86d564c84c38b1ec06d9f2120d6a7373dcaeff0c.tar.bz2 linux-86d564c84c38b1ec06d9f2120d6a7373dcaeff0c.zip |
constify blk_rq_map_user_iov() and friends
sg_iovec array passed to it can be const
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'block/blk-map.c')
-rw-r--r-- | block/blk-map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-map.c b/block/blk-map.c index ae4ae1047fd9..86d93779c066 100644 --- a/block/blk-map.c +++ b/block/blk-map.c @@ -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; |