From: Joel Becker <Joel.Becker@oracle.com>
To: Akinobu Mita <akinobu.mita@gmail.com>,
linux-kernel@vger.kernel.org,
Mark Fasheh <mark.fasheh@oracle.com>,
Kurt Hackel <kurt.hackel@oracle.com>
Subject: Re: [PATCH] ocfs2: fix module_init error handling
Date: Mon, 5 Mar 2007 11:58:29 -0800 [thread overview]
Message-ID: <20070305195829.GB20528@ca-server1.us.oracle.com> (raw)
In-Reply-To: <20070304133443.GA8519@APFDCB5C>
On Sun, Mar 04, 2007 at 10:34:43PM +0900, Akinobu Mita wrote:
> From: Akinobu Mita <akinobu.mita@gmail.com>
> Subject: [PATCH] ocfs2: fix module_init error handling
>
> Fix error handling in module_init and make module_init() return
> correct error code.
What are you fixing specifically? This looks like you are
reorganizing the exit path. While stylistic differences can exist on
the choice of function exit, claiming there is a "fix" means there is an
actual bug. Please clarify the bug so we can evaluate your change.
> -leave:
> - if (status < 0) {
> - ocfs2_free_mem_caches();
> - exit_ocfs2_uptodate_cache();
> - exit_ocfs2_extent_maps();
> - }
> + status = register_filesystem(&ocfs2_fs_type);
> + if (status)
> + goto err_filesystem;
>
> mlog_exit(status);
Also, this change suppresses some paths to mlog_exit(), which
impacts people tracing.
If there is an actual bug you are fixing, please tell us. We'll
work with you to correct it.
Joel
--
Life's Little Instruction Book #451
"Don't be afraid to say, 'I'm sorry.'"
Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker@oracle.com
Phone: (650) 506-8127
next prev parent reply other threads:[~2007-03-05 19:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-04 13:34 Akinobu Mita
2007-03-05 19:58 ` Joel Becker [this message]
2007-03-06 16:38 ` Akinobu Mita
2007-03-06 18:53 ` Mark Fasheh
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=20070305195829.GB20528@ca-server1.us.oracle.com \
--to=joel.becker@oracle.com \
--cc=akinobu.mita@gmail.com \
--cc=kurt.hackel@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.fasheh@oracle.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®