diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2015-04-14 15:42:45 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-14 16:48:56 -0700 |
commit | 3cc79b795b53a9a04aa1bcc1a943379f06324bb6 (patch) | |
tree | c328de57c1813a81617a76fbbf1c9874b110a62a /fs/ocfs2/reservations.c | |
parent | fd90d4dfb94a8c0d626c0c85ca7dcfb905f81a65 (diff) | |
download | linux-3cc79b795b53a9a04aa1bcc1a943379f06324bb6.tar.bz2 |
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 'fs/ocfs2/reservations.c')
0 files changed, 0 insertions, 0 deletions