Home
last modified time | relevance | path

Searched hist:"71739 da67085888a518840b054399906712af3f8" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/nfs/
H A Dread.cdiff 71739da67085888a518840b054399906712af3f8 Thu Mar 07 08:41:18 CST 2024 Benjamin Coddington <bcodding@redhat.com> NFS: Read unlock folio on nfs_page_create_from_folio() error

[ Upstream commit 11974eec839c167362af685aae5f5e1baaf979eb ]

The netfs conversion lost a folio_unlock() for the case where
nfs_page_create_from_folio() returns an error (usually -ENOMEM). Restore
it.

Reported-by: David Jeffery <djeffery@redhat.com>
Cc: <stable@vger.kernel.org> # 6.4+
Fixes: 000dbe0bec05 ("NFS: Convert buffered read paths to use netfs when fscache is enabled")
Signed-off-by: Benjamin Coddington <bcodding@redhat.com>
Acked-by: Dave Wysochanski <dwysocha@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>