commit | 5a48d3065f529c9935cc48d77963fe59691de533 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@fb.com> | Tue Sep 30 13:29:57 2014 -0600 |
committer | Mohamad Ayyash <mkayyash@google.com> | Fri Mar 06 17:57:20 2015 -0800 |
tree | 6438de6ea6b744c26963309b6dee2e4d5da8c487 | |
parent | a22867a5305f5cba020d6825793de9b9aaca1ca8 [diff] [blame] |
Constify 'td' in a few functions Signed-off-by: Jens Axboe <axboe@fb.com>
diff --git a/io_u.c b/io_u.c index 9adc31b..612057d 100644 --- a/io_u.c +++ b/io_u.c
@@ -1301,7 +1301,7 @@ * If latency target is enabled, we might be ramping up or down and not * using the full queue depth available. */ -int queue_full(struct thread_data *td) +int queue_full(const struct thread_data *td) { const int qempty = io_u_qempty(&td->io_u_freelist);