aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorBenjamin Coddington <[email protected]>2024-03-07 09:41:18 -0500
committerTrond Myklebust <[email protected]>2024-03-09 09:14:51 -0500
commit11974eec839c167362af685aae5f5e1baaf979eb (patch)
tree5634a3326fd0c27b356a248437a90bc7a0ba5fe2 /lib/test_fortify/write_overflow-strncpy-src.c
parentcdbd321ac15e1e663c15fc0433024f6487531f27 (diff)
NFS: Read unlock folio on nfs_page_create_from_folio() error
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 <[email protected]> Cc: <[email protected]> # 6.4+ Fixes: 000dbe0bec05 ("NFS: Convert buffered read paths to use netfs when fscache is enabled") Signed-off-by: Benjamin Coddington <[email protected]> Acked-by: Dave Wysochanski <[email protected]> Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions