From: Benjamin Randazzo Date: Sat, 25 Jul 2015 14:36:50 +0000 (+0200) Subject: md: simplify get_bitmap_file now that "file" is zeroed. X-Git-Tag: omap-for-v4.3/fixes-rc1~84^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25eafe1a813681849ad3fb9effdfdce3e1b4335a;p=pandora-kernel.git 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 Signed-off-by: NeilBrown --- Reading git-diff-tree failed