summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorAl Viro2014-02-09 02:42:52 +0100
committerAl Viro2014-04-02 05:19:31 +0200
commit86d564c84c38b1ec06d9f2120d6a7373dcaeff0c (patch)
tree4beaed1ab50eada4439301c72260d99419fd71e5 /block
parentlustre: switch to kernel_sendmsg() (diff)
downloadkernel-qcow2-linux-86d564c84c38b1ec06d9f2120d6a7373dcaeff0c.tar.gz
kernel-qcow2-linux-86d564c84c38b1ec06d9f2120d6a7373dcaeff0c.tar.xz
kernel-qcow2-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')
-rw-r--r--block/blk-map.c2
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;