diff options
author | Benjamin Coddington <bcodding@redhat.com> | 2024-03-07 17:41:18 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-04-03 16:32:18 +0300 |
commit | b5f81b42d207412c99d6abeb7161d61acf476505 (patch) | |
tree | fcff7c2c6d8bd1984701116f7e77179c89f24979 /scripts | |
parent | cf54f66e1dd78990ec6b32177bca7e6ea2144a95 (diff) | |
download | linux-b5f81b42d207412c99d6abeb7161d61acf476505.tar.xz |
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions