From: Tobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>
To: Dimitri John Ledkov <xnox@debian.org>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: [PATCH 4/4] Default to acting like fsck.
Date: Sun, 21 Sep 2014 14:59:59 +0200 [thread overview]
Message-ID: <CAKFHe2RwgjBDCEd6D4jva8QFou=gj8Pzd2auFUNyHFNephrYTw@mail.gmail.com> (raw)
In-Reply-To: <1411261282-26831-4-git-send-email-xnox@debian.org>
On 21 September 2014 03:01, Dimitri John Ledkov <xnox@debian.org> wrote:
>
> Inspect arguments, if we are not called as btrfs, then assume we are
> called to act like fsck.
[...]
> - if (!strcmp(bname, "btrfsck")) {
> + if (strcmp(bname, "btrfs") != 0) {
That's assuming a lot.
Silently (!) breaking people's btrfs-3.15_patched-DontRandomlyPanicV2
is a recipe for needless hair-pulling. Is there a reason for not using
something less like strstr(bname, "fsck") that I am missing?
Regards,
T G-R
next prev parent reply other threads:[~2014-09-21 13:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-21 1:01 [PATCH 1/4] Properly cast to avoid compiler warnings, fixes FTBFS on alpha and ia64 Dimitri John Ledkov
2014-09-21 1:01 ` [PATCH 2/4] Fixes FTBFS with --no-add-needed Dimitri John Ledkov
2014-09-22 12:23 ` David Sterba
2014-09-21 1:01 ` [PATCH 3/4] Fixing unaligned memory accesses Dimitri John Ledkov
2014-09-22 13:03 ` David Sterba
2014-09-21 1:01 ` [PATCH 4/4] Default to acting like fsck Dimitri John Ledkov
2014-09-21 12:59 ` Tobias Geerinckx-Rice [this message]
2014-09-22 8:58 ` Dimitri John Ledkov
2014-09-22 13:13 ` David Sterba
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='CAKFHe2RwgjBDCEd6D4jva8QFou=gj8Pzd2auFUNyHFNephrYTw@mail.gmail.com' \
--to=tobias.geerinckx.rice@gmail.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=xnox@debian.org \
/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;
as well as URLs for NNTP newsgroup(s).