md: remove unnecessary 'buf' from get_bitmap_file.
authorNeilBrown <neilb@suse.de>
Mon, 15 Dec 2014 01:57:00 +0000 (12:57 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 5 Feb 2015 22:32:56 +0000 (09:32 +1100)
commitf4ad3d38d49dc0c4c911e31d8b884d5b74362b6e
treec07652a37bb95b29476dce58cca51c34920d76e7
parent758bfc8abfbc26c196a53c52d52d251f20226a5c
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>
drivers/md/md.c