Commit ee2e992c authored by Li Zefan's avatar Li Zefan Committed by Jens Axboe
Browse files

block: simplify string handling in elv_iosched_store()



strlcpy() guarantees the dest buffer is NULL teminated.

Signed-off-by: default avatarLi Zefan <lizf@cn.fujitsu.com>
Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent e6d63840
Supports Markdown
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