From: NeilBrown Date: Mon, 15 Dec 2014 01:57:00 +0000 (+1100) Subject: md: remove unnecessary 'buf' from get_bitmap_file. X-Git-Tag: fixes-v4.0-rc1~120^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4ad3d38d49dc0c4c911e31d8b884d5b74362b6e;p=pandora-kernel.git 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 --- Reading git-diff-tree failed