aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/nfs_fs_sb.h
diff options
context:
space:
mode:
authorFred Isaman <fred.isaman@gmail.com>2016-10-04 15:26:41 -0400
committerTrond Myklebust <trond.myklebust@hammerspace.com>2018-05-31 15:03:11 -0400
commit6e01260ceeca299b82d466660935534c5c909d54 (patch)
tree16852b84a1595fbb2bd4b64cbdc085d3b91cd16c /include/linux/nfs_fs_sb.h
parentpnfs: Add LAYOUTGET to OPEN of an existing file (diff)
downloadwireguard-linux-6e01260ceeca299b82d466660935534c5c909d54.tar.xz
wireguard-linux-6e01260ceeca299b82d466660935534c5c909d54.zip
pnfs: Stop attempting LAYOUTGET on OPEN on failure
Signed-off-by: Fred Isaman <fred.isaman@gmail.com> Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.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 4e735be53e70..2c18d618604e 100644
--- a/include/linux/nfs_fs_sb.h
+++ b/include/linux/nfs_fs_sb.h
@@ -235,6 +235,7 @@ struct nfs_server {
#define NFS_CAP_ACLS (1U << 3)
#define NFS_CAP_ATOMIC_OPEN (1U << 4)
/* #define NFS_CAP_CHANGE_ATTR (1U << 5) */
+#define NFS_CAP_LGOPEN (1U << 5)
#define NFS_CAP_FILEID (1U << 6)
#define NFS_CAP_MODE (1U << 7)
#define NFS_CAP_NLINK (1U << 8)