From: Jay Vosburgh <j.vosburgh@gmail.com>
To: Thomas Richter <tmricht@linux.vnet.ibm.com>
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH] Bonding Remove debug_fs files when module init fails
Date: Wed, 09 Apr 2014 12:53:56 -0700 [thread overview]
Message-ID: <16237.1397073236@famine> (raw)
In-Reply-To: <1397040779-8699-1-git-send-email-tmricht@linux.vnet.ibm.com>
Thomas Richter <tmricht@linux.vnet.ibm.com> wrote:
>Remove the bonding debug_fs entries when the
>module initialization fails. The debug_fs
>entries should be removed together with all other
>already allocated resources.
>
>Signed-off-by: Thomas Richter <tmricht@linux.vnet.ibm.com>
Signed-off-by: Jay Vosburgh <j.vosburgh@gmail.com>
>---
> drivers/net/bonding/bond_main.c | 1 +
> 1 file changed, 1 insertion(+)
>
>diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c
>index 95a6ca7..c11e7b7 100644
>--- a/drivers/net/bonding/bond_main.c
>+++ b/drivers/net/bonding/bond_main.c
>@@ -4492,6 +4492,7 @@ static int __init bonding_init(void)
> out:
> return res;
> err:
>+ bond_destroy_debugfs();
> bond_netlink_fini();
> err_link:
> unregister_pernet_subsys(&bond_net_ops);
>--
next prev parent reply other threads:[~2014-04-09 19:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-09 10:52 [PATCH] Bonding Remove debug_fs files when module init fails Thomas Richter
2014-04-09 19:53 ` Jay Vosburgh [this message]
2014-04-11 19:09 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=16237.1397073236@famine \
--to=j.vosburgh@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=tmricht@linux.vnet.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.