Skip to content
Commit f4ad3d38 authored by NeilBrown's avatar NeilBrown
Browse files

md: remove unnecessary 'buf' from get_bitmap_file.



'buf' is only used because d_path fills from the end of the
buffer instead of from the start.
We don't need a separate buf to handle that, we just need to use
memmove() to move the string to the start.

Signed-off-by: default avatarNeilBrown <neilb@suse.de>
parent 758bfc8a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment