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:
49895bc
)
md: simplify get_bitmap_file now that "file" is zeroed.
author
Benjamin Randazzo
<benjamin@randazzo.fr>
Sat, 25 Jul 2015 14:36:50 +0000
(16:36 +0200)
committer
NeilBrown
<neilb@suse.com>
Mon, 3 Aug 2015 07:12:44 +0000
(17:12 +1000)
There is no point assigning '\0' to file->pathname[0] as
file is now zeroed out, so remove that branch and
simplify the code.
[Original patch combined this with the change to use
kzalloc. I split the two so that the change to kzalloc
is easier to backport. - neilb]
Signed-off-by: Benjamin Randazzo <benjamin@randazzo.fr>
Signed-off-by: NeilBrown <neilb@suse.com>
drivers/md/md.c
patch
|
blob
|
history
diff --cc
drivers/md/md.c
Simple merge