mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
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: NeilBrown <neilb@suse.de>
This commit is contained in:
parent
758bfc8abf
commit
f4ad3d38d4
1 changed files with 4 additions and 8 deletions
Loading…
Add table
Add a link
Reference in a new issue