]> git.baikalelectronics.ru Git - kernel.git/commit
block/sed: Add helper to qualify response tokens
authorJon Derrick <jonathan.derrick@intel.com>
Tue, 21 Feb 2017 18:59:14 +0000 (11:59 -0700)
committerJens Axboe <axboe@fb.com>
Wed, 22 Feb 2017 18:54:49 +0000 (11:54 -0700)
commitcd1150cb2ff28edba8871fc7177df8a33ae0156f
tree7947631e4dae50b13821477d359fa685bea4105b
parente55035ddca9ee47e23d5947e7661bd057a36b1b1
block/sed: Add helper to qualify response tokens

Add helper which verifies the response token is valid and matches the
expected value. Merges token_type and response_get_token.

Signed-off-by: Jon Derrick <jonathan.derrick@intel.com>
Reviewed-by: Scott Bauer <scott.bauer@intel.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/sed-opal.c