From: Philip Wernersbach <philip.wernersbach@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: tytso@mit.edu, Pavel Machek <pavel@ucw.cz>,
Richard Holden <aciddeath@gmail.com>
Subject: Re: [PATCH] ext2/3 as ext4
Date: Wed, 16 Dec 2009 19:42:35 -0500 [thread overview]
Message-ID: <def8f7750912161642v16dd7bbflaf78bd0d231af68d@mail.gmail.com> (raw)
In-Reply-To: <20091207190947.GF27692@thunk.org>
> Why the open coded strcmp?
strcmp is a C standard library function, not a C builtin, thus it
can't be used in the kernel.
> I would put these 2 conditionals into a single if ||, and consolidate
> the type_page setting into 1 place, then you limit where you handle the
> ext2/ext3 filesystems inside of ext4.
Thanks, that's a good idea.
> (I believe patch was whitespace damaged).
Oops! It was, sorry about that.
> Add yourself to the CREDITS; we don't use comments for changelog these days.
Okay.
> Ouch?
I don't see the problem, please elaborate.
> Can you use memcmp, instead?
No, it's a C standard library function.
> Actualy strcmp() may be appropriate.
It would, but that's also a C standard library function.
> Here's a much cleaner patch which achieves the same goal...
Thanks Ted, that is much cleaner, although I think it would be better
to have separate KCONFIG options for mounting ext2 as ext4 and ext3 as
ext4. I can code this in when I get some time.
Thanks,
Phil
next prev parent reply other threads:[~2009-12-17 0:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-02 1:30 Philip Wernersbach
2009-12-02 1:58 ` Richard Holden
2009-12-06 9:51 ` Pavel Machek
2009-12-07 19:09 ` tytso
2009-12-17 0:42 ` Philip Wernersbach [this message]
2009-12-22 1:14 ` Robert Hancock
2009-12-27 7:56 ` Dmitry Torokhov
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=def8f7750912161642v16dd7bbflaf78bd0d231af68d@mail.gmail.com \
--to=philip.wernersbach@gmail.com \
--cc=aciddeath@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@ucw.cz \
--cc=tytso@mit.edu \
/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®