summaryrefslogtreecommitdiff
path: root/fs/nfs/nfs4_fs.h
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2013-10-17 22:12:39 +0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2013-10-28 23:23:17 +0400
commitec011fe847347b40c60fdb5085f65227762e2e08 (patch)
treed3d19248060c1ff219013c10fa9cf5419fd4974c /fs/nfs/nfs4_fs.h
parent800c06a5bf497e0587ba8382a761f31a7825e2cd (diff)
downloadlinux-ec011fe847347b40c60fdb5085f65227762e2e08.tar.xz
NFS: Introduce a vector of migration recovery ops
The differences between minor version 0 and minor version 1 migration will be abstracted by the addition of a set of migration recovery ops. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4_fs.h')
-rw-r--r--fs/nfs/nfs4_fs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/nfs/nfs4_fs.h b/fs/nfs/nfs4_fs.h
index fcae7289d557..4f48000b2b97 100644
--- a/fs/nfs/nfs4_fs.h
+++ b/fs/nfs/nfs4_fs.h
@@ -50,6 +50,7 @@ struct nfs4_minor_version_ops {
const struct nfs4_state_recovery_ops *reboot_recovery_ops;
const struct nfs4_state_recovery_ops *nograce_recovery_ops;
const struct nfs4_state_maintenance_ops *state_renewal_ops;
+ const struct nfs4_mig_recovery_ops *mig_recovery_ops;
};
#define NFS_SEQID_CONFIRMED 1
@@ -203,6 +204,9 @@ struct nfs4_state_maintenance_ops {
int (*renew_lease)(struct nfs_client *, struct rpc_cred *);
};
+struct nfs4_mig_recovery_ops {
+};
+
extern const struct dentry_operations nfs4_dentry_operations;
/* dir.c */