summaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_fs_sb.h
diff options
context:
space:
mode:
authorAndrew Elble <aweits@rit.edu>2015-12-02 09:39:51 -0500
committerTrond Myklebust <trond.myklebust@primarydata.com>2015-12-28 09:57:15 -0500
commit99ade3c71b1e40e7174d6527709399a87f3d05e0 (patch)
tree06d6b1090beba99e44018f4e2948577a2e9f53dc /include/linux/nfs_fs_sb.h
parented476752493bc997f1690516fdc0609ddcbaca82 (diff)
downloadlinux-99ade3c71b1e40e7174d6527709399a87f3d05e0.tar.gz
linux-99ade3c71b1e40e7174d6527709399a87f3d05e0.tar.bz2
linux-99ade3c71b1e40e7174d6527709399a87f3d05e0.zip
nfs: machine credential support for additional operations
Allow LAYOUTRETURN and DELEGRETURN to use machine credentials if the server supports it. Add request for OPEN_DOWNGRADE as the close path also uses that. Signed-off-by: Andrew Elble <aweits@rit.edu> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.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 2469ab0bb3a1..7fcc13c8cf1f 100644
--- a/include/linux/nfs_fs_sb.h
+++ b/include/linux/nfs_fs_sb.h
@@ -102,6 +102,7 @@ struct nfs_client {
#define NFS_SP4_MACH_CRED_STATEID 4 /* TEST_STATEID and FREE_STATEID */
#define NFS_SP4_MACH_CRED_WRITE 5 /* WRITE */
#define NFS_SP4_MACH_CRED_COMMIT 6 /* COMMIT */
+#define NFS_SP4_MACH_CRED_PNFS_CLEANUP 7 /* LAYOUTRETURN */
#endif /* CONFIG_NFS_V4 */
/* Our own IP address, as a null-terminated string.