From: Tejun Heo Date: Tue, 13 Dec 2011 23:33:37 +0000 (+0100) Subject: block: misc ioc cleanups X-Git-Tag: v3.3-rc1~49^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42ec57a8f68311bbbf4ff96a5d33c8a2e90b9d05;p=pandora-kernel.git 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 Signed-off-by: Jens Axboe --- Reading git-diff-tree failed