diff options
author | Jonas Rabenstein <jonas.rabenstein@studium.uni-erlangen.de> | 2019-02-14 01:15:56 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-04-06 11:09:12 -0600 |
commit | e2821a50b17c1b760e7d597777de61241f22fd55 (patch) | |
tree | a92e4a333d81bed796ef279801619da4aaf4b75b /block/blk-throttle.c | |
parent | 1b6b75b0137fd2b5af533eceba5f5db62b1c45b0 (diff) | |
download | linux-e2821a50b17c1b760e7d597777de61241f22fd55.tar.bz2 |
block: sed-opal: unify space check in add_token_*
All add_token_* functions have a common set of conditions that have to
be checked. Use a common function for those checks in order to avoid
different behaviour as well as code duplication.
Acked-by: Jon Derrick <jonathan.derrick@intel.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Scott Bauer <sbauer@plzdonthack.me>
Co-authored-by: David Kozub <zub@linux.fjfi.cvut.cz>
Signed-off-by: Jonas Rabenstein <jonas.rabenstein@studium.uni-erlangen.de>
Signed-off-by: David Kozub <zub@linux.fjfi.cvut.cz>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-throttle.c')
0 files changed, 0 insertions, 0 deletions