Skip to content
Snippets Groups Projects
Commit 6a7378a5 authored by Alessandro Rubini's avatar Alessandro Rubini
Browse files

zio-sys: delay copying current_ctrl to block->ctrl


This is a potentially incompatible change: if your driver fills
attributes in the input block at raw_io() time, it won't work any more.
You should fill chan->current_ctrl instead, which will be visible
as a binary blob in sysfs soon.

Moving the memcpy() to a later point doesn't change overhead.

Signed-off-by: default avatarAlessandro Rubini <rubini@gnudd.com>
Acked-by: default avatarFederico Vaga <federico.vaga@gmail.com>
parent c11e1b6a
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment