From: Namjae Jeon <linkinjeon@kernel.org>
To: Sungjong Seo <sj1557.seo@samsung.com>
Cc: yuezhang.mo@sony.com, sjdev.seo@gmail.com,
linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org,
cpgs@samsung.com, stable@vger.kernel.org
Subject: Re: [PATCH] exfat: fix potential wrong error return from get_block
Date: Sat, 29 Mar 2025 22:13:22 +0900 [thread overview]
Message-ID: <CAKYAXd9Wrb4P+dNBCPiXcAdddkRxQ+2LTo-ocTBdziGLGZ_hZA@mail.gmail.com> (raw)
In-Reply-To: <20250326144848.3219740-1-sj1557.seo@samsung.com>
On Wed, Mar 26, 2025 at 11:49 PM Sungjong Seo <sj1557.seo@samsung.com> wrote:
>
> If there is no error, get_block() should return 0. However, when bh_read()
> returns 1, get_block() also returns 1 in the same manner.
>
> Let's set err to 0, if there is no error from bh_read()
>
> Fixes: 11a347fb6cef ("exfat: change to get file size from DataLength")
> Cc: stable@vger.kernel.org
> Signed-off-by: Sungjong Seo <sj1557.seo@samsung.com>
Applied it to dev with Yuezhang's reviewed-by tag.
Thanks!
prev parent reply other threads:[~2025-03-29 13:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20250326144918epcas1p1bf704db657010812a18e9fef5c3a6784@epcas1p1.samsung.com>
2025-03-26 14:48 ` Sungjong Seo
2025-03-29 8:06 ` Yuezhang.Mo
2025-03-29 13:13 ` Namjae Jeon [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=CAKYAXd9Wrb4P+dNBCPiXcAdddkRxQ+2LTo-ocTBdziGLGZ_hZA@mail.gmail.com \
--to=linkinjeon@kernel.org \
--cc=cpgs@samsung.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sj1557.seo@samsung.com \
--cc=sjdev.seo@gmail.com \
--cc=stable@vger.kernel.org \
--cc=yuezhang.mo@sony.com \
/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®