diff options
author | Tejun Heo <tj@kernel.org> | 2011-10-19 14:31:22 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2011-10-19 14:31:22 +0200 |
commit | 75eb6c372d41d6d140b893873f6687d78c987a44 (patch) | |
tree | 51864b2efe0415ad30226f218bc56c1a505bfb75 /block/elevator.c | |
parent | bc9fcbf9cb8ec76d340da16fbf48a9a316e14c52 (diff) | |
download | lwn-75eb6c372d41d6d140b893873f6687d78c987a44.tar.gz lwn-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/elevator.c')
0 files changed, 0 insertions, 0 deletions