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

Paulo Alcantara <[email protected]> Thu, 02 Jul 2026 09:53:11 -0300
Newsgroups dev.linux.lists.netfs,org.kernel.vger.linux-cifs,org.kernel.vger.linux-fsdevel,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
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]>