diff options
author | 2015-04-14 15:42:45 -0700 | |
---|---|---|
committer | 2015-04-14 16:48:56 -0700 | |
commit | 3cc79b795b53a9a04aa1bcc1a943379f06324bb6 (patch) | |
tree | c328de57c1813a81617a76fbbf1c9874b110a62a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ocfs2: delete unnecessary checks before three function calls (diff) | |
download | linux-dev-3cc79b795b53a9a04aa1bcc1a943379f06324bb6.tar.xz linux-dev-3cc79b795b53a9a04aa1bcc1a943379f06324bb6.zip |
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 <elfring@users.sourceforge.net>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions