From 102a0743326a03cd1a1202ceda21e175b7d3575c Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Tue, 20 Feb 2024 01:20:52 +0000 Subject: [PATCH] add new system file --- kernel/include/linux/nfs_xdr.h | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/kernel/include/linux/nfs_xdr.h b/kernel/include/linux/nfs_xdr.h index cd9e5b3..33442fd 100644 --- a/kernel/include/linux/nfs_xdr.h +++ b/kernel/include/linux/nfs_xdr.h @@ -1675,7 +1675,7 @@ struct nfs_removeargs args; struct nfs_removeres res; struct dentry *dentry; - struct swait_queue_head wq; + wait_queue_head_t wq; const struct cred *cred; struct nfs_fattr dir_attr; long timeout; @@ -1789,6 +1789,8 @@ struct nfs_server *(*create_server)(struct fs_context *); struct nfs_server *(*clone_server)(struct nfs_server *, struct nfs_fh *, struct nfs_fattr *, rpc_authflavor_t); + void (*enable_swap)(struct inode *inode); + void (*disable_swap)(struct inode *inode); }; /* -- Gitblit v1.6.2