diff options
author | Christoph Hellwig <hch@lst.de> | 2011-04-15 15:20:10 +0200 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2011-04-15 15:20:10 +0200 |
commit | 88b996cd0652280cc9b9fc70008fda15f14175e1 (patch) | |
tree | c842575e47ab094bced8a01b241568616e89366a /lib/locking-selftest-rlock-hardirq.h | |
parent | block, blk-sysfs: Use the variable directly instead of a function call (diff) | |
download | linux-88b996cd0652280cc9b9fc70008fda15f14175e1.tar.xz linux-88b996cd0652280cc9b9fc70008fda15f14175e1.zip |
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 <jaxboe@fusionio.com>
Diffstat (limited to 'lib/locking-selftest-rlock-hardirq.h')
0 files changed, 0 insertions, 0 deletions