OSDN Git Service

lustre: don't leak llog handle in llog_cat_process_cb()
authorJohn L. Hammond <john.hammond@intel.com>
Sun, 9 Feb 2014 07:51:49 +0000 (02:51 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Feb 2014 20:09:58 +0000 (12:09 -0800)
commit7345fb75e0ec4b2c84ece7ee4aabe8a0bdc06062
treeba6a6f81dea289747eca2b8ea932626fc01ec177
parente93a3082fc30dd648989f0986e482e0c914a502c
lustre: don't leak llog handle in llog_cat_process_cb()

An early return from llog_cat_process_cb() was leaking the llog
handle. Fix this by not doing that.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Reviewed-on: http://review.whamcloud.com/7847
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4054
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: jacques-Charles Lafoucriere <jacques-charles.lafoucriere@cea.fr>
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Signed-off-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/obdclass/llog_cat.c