diff options
author | Benjamin Randazzo <benjamin@randazzo.fr> | 2015-07-25 16:36:50 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.com> | 2015-08-03 17:12:44 +1000 |
commit | 25eafe1a813681849ad3fb9effdfdce3e1b4335a (patch) | |
tree | de118361423a3140511be6c5aa820c6d482f1260 /drivers/md/raid0.c | |
parent | 49895bcc7e566ba455eb2996607d6fbd3447ce16 (diff) | |
download | linux-25eafe1a813681849ad3fb9effdfdce3e1b4335a.tar.bz2 |
md: simplify get_bitmap_file now that "file" is zeroed.
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>
Diffstat (limited to 'drivers/md/raid0.c')
0 files changed, 0 insertions, 0 deletions