From: Bernd Schubert <bernd.schubert@fastmail.fm>
To: Christopher Sacchi <chris.sacchi@gmail.com>
Cc: linux-fsdevel@vger.kernel.org,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
"linux-ext4@vger.kernel.org" <linux-ext4@vger.kernel.org>
Subject: Re: [PATCH]:dir.c patch
Date: Sat, 25 Aug 2012 23:36:09 +0200 [thread overview]
Message-ID: <50394549.5070308@fastmail.fm> (raw)
In-Reply-To: <CAGh4K3+7+4E0rt1Lwu-z1n-XrDtaiE4Vk82S0a98GVo4VnDA7Q@mail.gmail.com>
On 08/25/2012 10:37 PM, Christopher Sacchi wrote:
> Here is a non-style issue dir.c-patch, and as far as I can see from
> the lines of code, the compilation errors weren't about what I put in.
> This patch fixes a "break" statement inside an "if" statement, as
> obviously not correct.
Why should that not be correct? It breaks the while(1) loop?
> Here's the patch for the kernel version v3.6.0rc3:
>
> --
> Signed-off-by: Christopher P. Sacchi <chris.sacchi@gmail.com>
> --- dir.c 2012-08-25 15:47:24.260443900 -0400
> +++ dir.c 2012-08-25 16:02:05.458845600 -0400
> @@ -580,7 +580,6 @@ static int ext4_dx_readdir(struct file *
> return ret;
> if (ret == 0) {
> filp->f_pos = ext4_get_htree_eof(filp);
> - break;
So ext4_htree_fill_tree() did not return more entries and the while(1)
loop shall be stopped?
Cheers,
Bernd
prev parent reply other threads:[~2012-08-25 21:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-25 20:37 Christopher Sacchi
2012-08-25 21:36 ` Bernd Schubert [this message]
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=50394549.5070308@fastmail.fm \
--to=bernd.schubert@fastmail.fm \
--cc=chris.sacchi@gmail.com \
--cc=linux-ext4@vger.kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.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
Powered by JetHome