From: Christoph Hellwig Date: Fri, 15 Apr 2011 13:20:10 +0000 (+0200) Subject: block: cleanup the block plug helper functions X-Git-Tag: v2.6.39-rc4~22^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88b996cd0652280cc9b9fc70008fda15f14175e1;p=pandora-kernel.git block: cleanup the block plug helper functions It's a bit of a mess currently. task->plug is being cleared and reset in __blk_finish_plug(), and blk_finish_plug() is testing for a NULL plug which cannot happen even from schedule() anymore since it uses blk_needs_flush_plug() to determine whether to call into this function at all. So get rid of some of the cruft. Signed-off-by: Jens Axboe --- Reading git-diff-tree failed