diff options
author | David Kozub <zub@linux.fjfi.cvut.cz> | 2019-02-14 01:16:00 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-04-06 11:09:12 -0600 |
commit | b68f09ecdeaa7d59397429cb95aa83f02b9bd107 (patch) | |
tree | cdfda946e4e8bcb35b2fd8db2b3cf5b672cc85e3 /mm/fadvise.c | |
parent | 7d9b62ae2a7db6dfa218999b7dd65517a6f9cfb7 (diff) | |
download | linux-b68f09ecdeaa7d59397429cb95aa83f02b9bd107.tar.gz linux-b68f09ecdeaa7d59397429cb95aa83f02b9bd107.tar.bz2 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 'mm/fadvise.c')
0 files changed, 0 insertions, 0 deletions