summaryrefslogtreecommitdiffstats
path: root/block/bfq-cgroup.c
diff options
context:
space:
mode:
authorDavid Kozub <zub@linux.fjfi.cvut.cz>2019-02-14 01:15:58 +0100
committerJens Axboe <axboe@kernel.dk>2019-04-06 19:09:12 +0200
commite8b2922459cf15140ab8cc1f92b6861674fff1a3 (patch)
tree0dde7aae9c96488af6b854d15a54d8257e786313 /block/bfq-cgroup.c
parentblock: sed-opal: close parameter list in cmd_finalize (diff)
downloadlinux-e8b2922459cf15140ab8cc1f92b6861674fff1a3.tar.xz
linux-e8b2922459cf15140ab8cc1f92b6861674fff1a3.zip
block: sed-opal: unify cmd start
Every step starts with resetting the cmd buffer as well as the comid and constructs the appropriate OPAL_CALL command. Consequently, those actions may be combined into one generic function. On should take care that the opening and closing tokens for the argument list are already emitted by cmd_start and cmd_finalize respectively and thus must not be additionally added. 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> Acked-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