diff options
author | Al Viro | 2014-02-09 02:42:52 +0100 |
---|---|---|
committer | Al Viro | 2014-04-02 05:19:31 +0200 |
commit | 86d564c84c38b1ec06d9f2120d6a7373dcaeff0c (patch) | |
tree | 4beaed1ab50eada4439301c72260d99419fd71e5 /block | |
parent | lustre: switch to kernel_sendmsg() (diff) | |
download | kernel-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.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; |