diff options
author | Jonas Rabenstein <jonas.rabenstein@studium.uni-erlangen.de> | 2019-02-14 01:16:02 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-04-06 19:09:12 +0200 |
commit | 285599590e2e1f067d56a5855244e95f6303b28f (patch) | |
tree | 760eab99b46fd81951dd39f1582d6e36aa255f53 /block/opal_proto.h | |
parent | block: sed-opal: print failed function address (diff) | |
download | linux-285599590e2e1f067d56a5855244e95f6303b28f.tar.xz linux-285599590e2e1f067d56a5855244e95f6303b28f.zip |
block: sed-opal: split generation of bytestring header and content
Split the header generation from the (normal) memcpy part if a
bytestring is copied into the command buffer. This allows in-place
generation of the bytestring content. For example, copy_from_user may be
used without an intermediate buffer.
Signed-off-by: Jonas Rabenstein <jonas.rabenstein@studium.uni-erlangen.de>
Signed-off-by: David Kozub <zub@linux.fjfi.cvut.cz>
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/opal_proto.h')
0 files changed, 0 insertions, 0 deletions