From: "Theodore Ts'o" <tytso@mit.edu>
To: Gabriel Krisman Bertazi <krisman@collabora.com>
Cc: Dan Carpenter <dan.carpenter@oracle.com>,
linux-ext4@vger.kernel.org, kernel@collabora.com
Subject: Re: [PATCH] ext4: Fix coverity warning on error path of filename setup
Date: Tue, 2 Jul 2019 17:57:28 -0400 [thread overview]
Message-ID: <20190702215728.GI3032@mit.edu> (raw)
In-Reply-To: <85r27dlay3.fsf@collabora.com>
On Fri, Jun 28, 2019 at 04:19:32PM -0400, Gabriel Krisman Bertazi wrote:
> Dan Carpenter <dan.carpenter@oracle.com> writes:
>
> > Hello Gabriel Krisman Bertazi,
> >
> > The patch 3ae72562ad91: "ext4: optimize case-insensitive lookups"
> > from Jun 19, 2019, leads to the following static checker warning:
>
> Hi,
>
> The patch below should fix this issue.
>
> -- >8 --
> Subject: [PATCH] ext4: Fix coverity warning on error path of filename setup
>
> Fix the following coverity warning reported by Dan Carpenter:
>
> fs/ext4/namei.c:1311 ext4_fname_setup_ci_filename()
> warn: 'cf_name->len' unsigned <= 0
>
> Fixes: 3ae72562ad91 ("ext4: optimize case-insensitive lookups")
> Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.com>
> Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Applied, thanks.
- Ted
prev parent reply other threads:[~2019-07-03 0:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-24 12:29 [bug report] ext4: optimize case-insensitive lookups Dan Carpenter
2019-06-28 20:19 ` [PATCH] ext4: Fix coverity warning on error path of filename setup Gabriel Krisman Bertazi
2019-07-02 21:57 ` Theodore Ts'o [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=20190702215728.GI3032@mit.edu \
--to=tytso@mit.edu \
--cc=dan.carpenter@oracle.com \
--cc=kernel@collabora.com \
--cc=krisman@collabora.com \
--cc=linux-ext4@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;
as well as URLs for NNTP newsgroup(s).