commit | b0018361c3f934858592cbbb5e1a4f318c2a70ed | [log] [tgz] |
---|---|---|
author | Nick Piggin <npiggin@suse.de> | Wed May 26 01:51:19 2010 +1000 |
committer | Jens Axboe <jaxboe@fusionio.com> | Thu Jun 10 19:08:34 2010 +0200 |
tree | fa14b78331f2683838a3aee5a694ec37911c4ea3 | |
parent | cf3425707ed9ce0d5ebaba20bc3d22dd39e52f2f [diff] |
block: bd_start_claiming cleanup I don't like the subtle multi-context code in bd_claim (ie. detects where it has been called based on bd_claiming). It seems clearer to just require a new function to finish a 2-part claim. Also improve commentary in bd_start_claiming as to how it should be used. Signed-off-by: Nick Piggin <npiggin@suse.de> Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>