diff options
| author | David Howells <[email protected]> | 2023-11-24 13:02:55 +0000 |
|---|---|---|
| committer | David Howells <[email protected]> | 2024-04-29 14:01:43 +0000 |
| commit | ae678317b95e760607c7b20b97c9cd4ca9ed6e1a (patch) | |
| tree | 5f2521c062ddc3ee166387750af926624d37a11c /fs/netfs/buffered_read.c | |
| parent | mm: Remove the PG_fscache alias for PG_private_2 (diff) | |
| download | kernel-ae678317b95e760607c7b20b97c9cd4ca9ed6e1a.tar.gz kernel-ae678317b95e760607c7b20b97c9cd4ca9ed6e1a.zip | |
netfs: Remove deprecated use of PG_private_2 as a second writeback flag
Remove the deprecated use of PG_private_2 in netfslib.
Signed-off-by: David Howells <[email protected]>
Reviewed-by: Jeff Layton <[email protected]>
cc: Matthew Wilcox (Oracle) <[email protected]>
cc: [email protected]
cc: [email protected]
cc: [email protected]
Diffstat (limited to 'fs/netfs/buffered_read.c')
| -rw-r--r-- | fs/netfs/buffered_read.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/fs/netfs/buffered_read.c b/fs/netfs/buffered_read.c index b3fd6e1fa322..1622cce535a3 100644 --- a/fs/netfs/buffered_read.c +++ b/fs/netfs/buffered_read.c @@ -464,7 +464,7 @@ retry: if (!netfs_is_cache_enabled(ctx) && netfs_skip_folio_read(folio, pos, len, false)) { netfs_stat(&netfs_n_rh_write_zskip); - goto have_folio_no_wait; + goto have_folio; } rreq = netfs_alloc_request(mapping, file, @@ -505,12 +505,6 @@ retry: netfs_put_request(rreq, false, netfs_rreq_trace_put_return); have_folio: - if (test_bit(NETFS_ICTX_USE_PGPRIV2, &ctx->flags)) { - ret = folio_wait_private_2_killable(folio); - if (ret < 0) - goto error; - } -have_folio_no_wait: *_folio = folio; _leave(" = 0"); return 0; |
