summaryrefslogtreecommitdiffstats
path: root/block/bfq-cgroup.c
diff options
context:
space:
mode:
authorDavid Kozub <zub@linux.fjfi.cvut.cz>2019-02-14 01:16:00 +0100
committerJens Axboe <axboe@kernel.dk>2019-04-06 19:09:12 +0200
commitb68f09ecdeaa7d59397429cb95aa83f02b9bd107 (patch)
treecdfda946e4e8bcb35b2fd8db2b3cf5b672cc85e3 /block/bfq-cgroup.c
parentblock: sed-opal: unify error handling of responses (diff)
downloadlinux-b68f09ecdeaa7d59397429cb95aa83f02b9bd107.tar.xz
linux-b68f09ecdeaa7d59397429cb95aa83f02b9bd107.zip
block: sed-opal: reuse response_get_token to decrease code duplication
response_get_token had already been in place, its functionality had been duplicated within response_get_{u64,bytestring} with the same error handling. Unify the handling by reusing response_get_token within the other functions. Co-authored-by: Jonas Rabenstein <jonas.rabenstein@studium.uni-erlangen.de> Signed-off-by: David Kozub <zub@linux.fjfi.cvut.cz> Signed-off-by: Jonas Rabenstein <jonas.rabenstein@studium.uni-erlangen.de> Reviewed-by: Scott Bauer <sbauer@plzdonthack.me> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Jon Derrick <jonathan.derrick@intel.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/bfq-cgroup.c')
0 files changed, 0 insertions, 0 deletions