summaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_fs_sb.h
diff options
context:
space:
mode:
authorWeston Andros Adamson2013-08-13 22:37:34 +0200
committerTrond Myklebust2013-09-05 16:44:17 +0200
commitfa940720ceff2d7b24b4898c51a440ab59f39a4d (patch)
tree61fbe57804f1101997fa70e0d45885f3fbbe81ec /include/linux/nfs_fs_sb.h
parentnfs4.1: Add state protection handler (diff)
downloadkernel-qcow2-linux-fa940720ceff2d7b24b4898c51a440ab59f39a4d.tar.gz
kernel-qcow2-linux-fa940720ceff2d7b24b4898c51a440ab59f39a4d.tar.xz
kernel-qcow2-linux-fa940720ceff2d7b24b4898c51a440ab59f39a4d.zip
nfs4.1: Add SP4_MACH_CRED cleanup support
CLOSE and LOCKU can use the machine credential. Signed-off-by: Weston Andros Adamson <dros@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/nfs_fs_sb.h')
-rw-r--r--include/linux/nfs_fs_sb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfs_fs_sb.h b/include/linux/nfs_fs_sb.h
index 9f7b9192cf5e..c0ba33874a85 100644
--- a/include/linux/nfs_fs_sb.h
+++ b/include/linux/nfs_fs_sb.h
@@ -94,6 +94,7 @@ struct nfs_client {
unsigned long cl_sp4_flags;
#define NFS_SP4_MACH_CRED_MINIMAL 1 /* Minimal sp4_mach_cred - state ops
* must use machine cred */
+#define NFS_SP4_MACH_CRED_CLEANUP 2 /* CLOSE and LOCKU */
#endif /* CONFIG_NFS_V4 */
#ifdef CONFIG_NFS_FSCACHE