From: Nick Piggin Date: Wed, 29 Jun 2005 03:45:15 +0000 (-0700) Subject: [PATCH] blk: light iocontext ops X-Git-Tag: v2.6.13-rc1~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb3cc4320e1fd87143683b540e459a2e20fdc9bb;p=pandora-kernel.git [PATCH] blk: light iocontext ops get_io_context needlessly turned off interrupts and checked for racing io context creations. Both of which aren't needed, because the io context can only be created while in process context of the current process. Also, split the function in 2. A light version, current_io_context does not elevate the reference count specifically, but can be used when in process context, because the process holds a reference itself. Signed-off-by: Nick Piggin Cc: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed