summaryrefslogtreecommitdiff
path: root/fs/nfs/filelayout
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2024-07-01 07:26:48 +0200
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2024-07-08 13:47:51 -0400
commit7e8e78a0ba00c88f0ded86de64bdddc82e06b196 (patch)
tree0ebd10861e89b2e01eea0d79881a46ef30e43f01 /fs/nfs/filelayout
parent4840c00003a2275668a13b82c9f5b1aed80183aa (diff)
downloadlwn-7e8e78a0ba00c88f0ded86de64bdddc82e06b196.tar.gz
lwn-7e8e78a0ba00c88f0ded86de64bdddc82e06b196.zip
nfs: remove dead code for the old swap over NFS implementation
Remove the code testing folio_test_swapcache either explicitly or implicitly in pagemap.h headers, as is now handled using the direct I/O path and not the buffered I/O path that these helpers are located in. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/filelayout')
-rw-r--r--fs/nfs/filelayout/filelayout.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfs/filelayout/filelayout.c b/fs/nfs/filelayout/filelayout.c
index 29d84dc66ca3..b6e9aeaf4ce2 100644
--- a/fs/nfs/filelayout/filelayout.c
+++ b/fs/nfs/filelayout/filelayout.c
@@ -1110,7 +1110,6 @@ static const struct pnfs_commit_ops filelayout_commit_ops = {
.clear_request_commit = pnfs_generic_clear_request_commit,
.scan_commit_lists = pnfs_generic_scan_commit_lists,
.recover_commit_reqs = pnfs_generic_recover_commit_reqs,
- .search_commit_reqs = pnfs_generic_search_commit_reqs,
.commit_pagelist = filelayout_commit_pagelist,
};