block: simplify string handling in elv_iosched_store()
strlcpy() guarantees the dest buffer is NULL teminated. Signed-off-by:Li Zefan <lizf@cn.fujitsu.com> Signed-off-by:
Jens Axboe <jens.axboe@oracle.com>
Loading
Please sign in to comment
strlcpy() guarantees the dest buffer is NULL teminated. Signed-off-by:Li Zefan <lizf@cn.fujitsu.com> Signed-off-by:
Jens Axboe <jens.axboe@oracle.com>