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

From: Paulo Alcantara

Date: Thu Jul 02 2026 - 09:00:05 EST


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>