diff options
author | Tom Zanussi <tzanussi@gmail.com> | 2009-08-08 15:49:53 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-08-08 15:56:13 (GMT) |
commit | 26528e773ecc74fb1b61b7275f86f761cbb340ec (patch) | |
tree | e3892e1c58783cc022517dab31b1e18179cb930b /fs/btrfs/inode.c | |
parent | 96b2de313b1e0e02aea80ee47df6a2b5cbdf8e13 (diff) | |
download | linux-fsl-qoriq-26528e773ecc74fb1b61b7275f86f761cbb340ec.tar.xz |
tracing/filters: Always free pred on filter_add_subsystem_pred() failure
If filter_add_subsystem_pred() fails due to ENOSPC or ENOMEM,
the pred doesn't get freed, while as a side effect it does for
other errors. Make it so the caller always frees the pred for
any error.
Signed-off-by: Tom Zanussi <tzanussi@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Li Zefan <lizf@cn.fujitsu.com>
LKML-Reference: <1249746593.6453.32.camel@tropicana>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'fs/btrfs/inode.c')
0 files changed, 0 insertions, 0 deletions