From: "Theodore Y. Ts'o" <tytso@mit.edu>
To: Colin Ian King <colin.king@canonical.com>
Cc: Andreas Dilger <adilger.kernel@dilger.ca>,
Ext4 Developers List <linux-ext4@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: ext4: convert file system to meta_bg if needed during resizing
Date: Sat, 29 Feb 2020 12:42:49 -0500 [thread overview]
Message-ID: <20200229174249.GB7378@mit.edu> (raw)
In-Reply-To: <633e75c4-acdc-1b88-ab47-4e922aac93d7@canonical.com>
On Sat, Feb 29, 2020 at 12:39:34AM +0000, Colin Ian King wrote:
> Hi,
>
> static analysis with Coverity has found an issue in function
> ext4_convert_meta_bg() with the following commit
>
> commit 1c6bd7173d66b3dfdefcedb38cabc1fb03997509
> Author: Theodore Ts'o <tytso@mit.edu>
> Date: Thu Sep 13 10:19:24 2012 -0400
>
> ext4: convert file system to meta_bg if needed during resizing
>
> The analysis is as follows:
>
> 1898
> 1899 errout:
> 1900 ret = ext4_journal_stop(handle);
> 1901 if (!err)
>
> Unused value (UNUSED_VALUE)assigned_value: Assigning value from ret to
> err here, but that stored value is not used.
>
> 1902 err = ret;
> 1903 return ret;
Line 1903 should be "return err".
Want to send a patch, or shall I just commit the fix?
- Ted
next prev parent reply other threads:[~2020-02-29 17:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-29 0:39 Colin Ian King
2020-02-29 17:42 ` Theodore Y. Ts'o [this message]
2020-02-29 17:52 ` Colin Ian King
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=20200229174249.GB7378@mit.edu \
--to=tytso@mit.edu \
--cc=adilger.kernel@dilger.ca \
--cc=colin.king@canonical.com \
--cc=linux-ext4@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
all inboxes | Powered by JetHome®