History

NFS: Move internal constants out of uapi/linux/nfs_mount.h

When the label says "for internal use only", then it doesn't belong in the 'uapi' subtree.

Trond Myklebust committed 7 years ago

Commit 7b1355b1 parent 11982a72 files · +9 −9Browse files

Showing the changes to include/linux (1 of 2 files). Show all

Unified · Split

include/linux/nfs_fs_sb.h+9−0
@@ -139,6 +139,15 @@ struct nfs_server { · 138 unmodified lines
139139 struct nfs_iostats __percpu *io_stats; /* I/O statistics */
140140 atomic_long_t writeback; /* number of writeback pages */
141141 int flags; /* various flags */
142+
143+/* The following are for internal use only. Also see uapi/linux/nfs_mount.h */
144+#define NFS_MOUNT_LOOKUP_CACHE_NONEG 0x10000
145+#define NFS_MOUNT_LOOKUP_CACHE_NONE 0x20000
146+#define NFS_MOUNT_NORESVPORT 0x40000
147+#define NFS_MOUNT_LEGACY_INTERFACE 0x80000
148+#define NFS_MOUNT_LOCAL_FLOCK 0x100000
149+#define NFS_MOUNT_LOCAL_FCNTL 0x200000
150+
142151 unsigned int caps; /* server capabilities */
143152 unsigned int rsize; /* read size */
144153 unsigned int rpages; /* read size (in pages) */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t