]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
NFS: remove unused pnfs_ld_data field from struct nfs_server
authorAnthony Iliopoulos <ailiop@suse.com>
Fri, 13 Jun 2025 09:44:39 +0000 (11:44 +0200)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 14 Jul 2025 22:20:25 +0000 (15:20 -0700)
The last code that was using this was removed via commit 20d655d6197d
("pnfs/blocklayout: use the device id cache") which was merged in
v3.18-rc1, so it can be removed completely.

Signed-off-by: Anthony Iliopoulos <ailiop@suse.com>
Link: https://lore.kernel.org/r/20250613094439.82338-4-ailiop@suse.com
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
include/linux/nfs_fs_sb.h

index e1b2cf57e7650a55bd1de1e7ceca5ae153b7e8dd..d2d36711a1190b36c9d140ed78614a2e9d0fc181 100644 (file)
@@ -246,7 +246,6 @@ struct nfs_server {
                                                   filesystem */
        struct pnfs_layoutdriver_type  *pnfs_curr_ld; /* Active layout driver */
        struct rpc_wait_queue   roc_rpcwaitq;
-       void                    *pnfs_ld_data;  /* per mount point data */
 
        /* the following fields are protected by nfs_client->cl_lock */
        struct rb_root          state_owners;