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

Steve French <[email protected]> Thu, 2 Jul 2026 09:22:49 -0500
Newsgroups dev.linux.lists.netfs,org.kernel.vger.linux-cifs,org.kernel.vger.linux-fsdevel,org.kernel.vger.linux-kernel
Message-ID <CAH2r5msCwtASOc6c3_pxKF3vPqsowbpYWTWPacetzUAeQB2Z6g@mail.gmail.com>
merged into cifs-2.6.git for-next pending testing

On Thu, Jul 2, 2026 at 7:53 AM Paulo Alcantara <[email protected]> wrote:
>
> David Howells <[email protected]> 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 <[email protected]>
> > cc: Steve French <[email protected]>
> > cc: Paulo Alcantara <[email protected]>
> > cc: [email protected]
> > cc: [email protected]
> > cc: [email protected]
> > ---
> >  fs/smb/client/file.c |    1 +
> >  1 file changed, 1 insertion(+)
>
> Acked-by: Paulo Alcantara (Red Hat) <[email protected]>
>


-- 
Thanks,

Steve