Re: [PATCH] cifs: Fix missing credit release on failure in cifs_issue_read()

From: Steve French

Date: Thu Jul 02 2026 - 10:28:36 EST


merged into cifs-2.6.git for-next pending testing

On Thu, Jul 2, 2026 at 7:53 AM Paulo Alcantara <pc@xxxxxxxxxxxxx> wrote:
>
> David Howells <dhowells@xxxxxxxxxx> writes:
>
> > Fix missing release of credits in the failure path in cifs_issue_read()
> > lest retrying the subreq just overwrites the credits value.
> >
> > Fixes: 69c3c023af25 ("cifs: Implement netfslib hooks")
> > Link: https://sashiko.dev/#/patchset/20260608145432.681865-1-dhowells%40redhat.com
> > Signed-off-by: David Howells <dhowells@xxxxxxxxxx>
> > cc: Steve French <sfrench@xxxxxxxxx>
> > cc: Paulo Alcantara <pc@xxxxxxxxxxxxx>
> > cc: linux-cifs@xxxxxxxxxxxxxxx
> > cc: netfs@xxxxxxxxxxxxxxx
> > cc: linux-fsdevel@xxxxxxxxxxxxxxx
> > ---
> > fs/smb/client/file.c | 1 +
> > 1 file changed, 1 insertion(+)
>
> Acked-by: Paulo Alcantara (Red Hat) <pc@xxxxxxxxxxxxx>
>


--
Thanks,

Steve