summaryrefslogtreecommitdiff
path: root/include/linux/nfs_fs_sb.h
diff options
context:
space:
mode:
authorWeston Andros Adamson <dros@netapp.com>2013-08-14 00:37:34 +0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2013-09-05 18:44:17 +0400
commitfa940720ceff2d7b24b4898c51a440ab59f39a4d (patch)
tree61fbe57804f1101997fa70e0d45885f3fbbe81ec /include/linux/nfs_fs_sb.h
parentab4c2361358ebdf4933f6bfd1dc98d7a14b55769 (diff)
downloadlinux-fa940720ceff2d7b24b4898c51a440ab59f39a4d.tar.xz
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