summaryrefslogtreecommitdiffstats
path: root/block/blk-throttle.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2011-10-19 14:31:22 +0200
committerJens Axboe <axboe@kernel.dk>2011-10-19 14:31:22 +0200
commit75eb6c372d41d6d140b893873f6687d78c987a44 (patch)
tree51864b2efe0415ad30226f218bc56c1a505bfb75 /block/blk-throttle.c
parentbc9fcbf9cb8ec76d340da16fbf48a9a316e14c52 (diff)
downloadlinux-stable-75eb6c372d41d6d140b893873f6687d78c987a44.tar.gz
linux-stable-75eb6c372d41d6d140b893873f6687d78c987a44.tar.bz2
linux-stable-75eb6c372d41d6d140b893873f6687d78c987a44.zip
block: pass around REQ_* flags instead of broken down booleans during request alloc/free
blk_alloc_request() and freed_request() take different combinations of REQ_* @flags, @priv and @is_sync when @flags is superset of the latter two. Make them take @flags only. This cleans up the code a bit and will ease updating allocation related REQ_* flags. This patch doesn't introduce any functional difference. Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-throttle.c')
0 files changed, 0 insertions, 0 deletions