diff options
author | Jonas Rabenstein <jonas.rabenstein@studium.uni-erlangen.de> | 2019-02-14 03:16:02 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-04-06 20:09:12 +0300 |
commit | 285599590e2e1f067d56a5855244e95f6303b28f (patch) | |
tree | 760eab99b46fd81951dd39f1582d6e36aa255f53 /lib/crc64.c | |
parent | b2f9c6eb3f5f44d2fded05856f69050d7170eeff (diff) | |
download | linux-285599590e2e1f067d56a5855244e95f6303b28f.tar.xz |
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 'lib/crc64.c')
0 files changed, 0 insertions, 0 deletions