commit | 25eafe1a813681849ad3fb9effdfdce3e1b4335a | [log] [tgz] |
---|---|---|
author | Benjamin Randazzo <benjamin@randazzo.fr> | Sat Jul 25 16:36:50 2015 +0200 |
committer | NeilBrown <neilb@suse.com> | Mon Aug 03 17:12:44 2015 +1000 |
tree | de118361423a3140511be6c5aa820c6d482f1260 | |
parent | 49895bcc7e566ba455eb2996607d6fbd3447ce16 [diff] |
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>