binject: refactor command validation
authorJens Axboe <jaxboe@fusionio.com>
Fri, 8 Oct 2010 17:57:16 +0000 (19:57 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Fri, 29 Oct 2010 03:33:57 +0000 (21:33 -0600)
commit26647378afab643a6f6efe09b36290dedc9ce933
treee8c72cde47b88a23d1f36b5eb22bf66e3395ffe9
parent5da0a4c9223fcdaffa523421b74afd0c4320a626
binject: refactor command validation

We missed the barrier types, refactor to avoid those kinds of
errors in the future.

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
block/binject.c