From: Markus Elfring Date: Tue, 14 Apr 2015 22:42:45 +0000 (-0700) Subject: ocfs2: less function calls in ocfs2_convert_inline_data_to_extents() after error... X-Git-Tag: omap-for-v4.1/fixes-rc1~151^2~116 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3cc79b795b53a9a04aa1bcc1a943379f06324bb6;p=pandora-kernel.git ocfs2: less function calls in ocfs2_convert_inline_data_to_extents() after error detection kfree() was called in a few cases by ocfs2_convert_inline_data_to_extents() during error handling even if the passed variable "pages" contained a null pointer. * Return from this implementation directly after failure detection for the function call "kcalloc". * Corresponding details could be improved by the introduction of another jump label. Signed-off-by: Markus Elfring Cc: Mark Fasheh Cc: Joel Becker Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed