summaryrefslogtreecommitdiffstats
path: root/block/blk.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2011-12-14 00:33:37 +0100
committerJens Axboe <axboe@kernel.dk>2011-12-14 00:33:37 +0100
commit42ec57a8f68311bbbf4ff96a5d33c8a2e90b9d05 (patch)
tree3aead2658435f53bd637967c5722358039acc390 /block/blk.h
parenta73f730d013ff2788389fd0c46ad3e5510f124e6 (diff)
downloadop-kernel-dev-42ec57a8f68311bbbf4ff96a5d33c8a2e90b9d05.zip
op-kernel-dev-42ec57a8f68311bbbf4ff96a5d33c8a2e90b9d05.tar.gz
block: misc ioc cleanups
* int return from put_io_context() wasn't used by anybody. Make it return void like other put functions and docbook-fy the function comment. * Reorder dummy declarations for !CONFIG_BLOCK case a bit. * Make alloc_ioc_context() use __GFP_ZERO allocation, take init out of if block and drop 0'ing. * Docbook-fy current_io_context() comment. This patch doesn't introduce any functional change. Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud