git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
758bfc8
)
md: remove unnecessary 'buf' from get_bitmap_file.
author
NeilBrown
<neilb@suse.de>
Mon, 15 Dec 2014 01:57:00 +0000
(12:57 +1100)
committer
NeilBrown
<neilb@suse.de>
Thu, 5 Feb 2015 22:32:56 +0000
(09:32 +1100)
'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
patch
|
blob
|
history
diff --cc
drivers/md/md.c
Simple merge