diff options
| author | Markus Elfring <elfring@users.sourceforge.net> | 2015-04-14 15:42:59 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-14 16:48:57 -0700 |
| commit | 43ee9cad8a81954eea893b52e08d0c00ca9baccc (patch) | |
| tree | 6209cc6ac2d8ba05e7079c9977434519c9495108 /fs/ocfs2/stack_o2cb.c | |
| parent | bb34ed21bce54a900c034089a6b1fde8c09f6a6d (diff) | |
| download | linux-43ee9cad8a81954eea893b52e08d0c00ca9baccc.tar.gz linux-43ee9cad8a81954eea893b52e08d0c00ca9baccc.tar.bz2 linux-43ee9cad8a81954eea893b52e08d0c00ca9baccc.zip | |
ocfs2: one function call less in user_cluster_connect() after error detection
kfree() was called by user_cluster_connect() even if a previous call of
the kzalloc() function failed.
Return from this implementation directly after failure detection.
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/stack_o2cb.c')
0 files changed, 0 insertions, 0 deletions
