diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-24 10:46:05 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-24 10:46:05 -0400 |
commit | 860448cf76c0878b83d3cf343a0436188b396b8e (patch) | |
tree | 1f060525644c1f4405258cb9e3dd5c1d66c119f7 /include/uapi | |
parent | ba0e4ae88f0f71b42ad8734e0c371d321554f13b (diff) | |
parent | bff175238a2416110e2258989c462234baeb5f46 (diff) |
Merge branch 'for-4.1' of git://linux-nfs.org/~bfields/linux
Pull nfsd updates from Bruce Fields:
"A quiet cycle this time; this is basically entirely bugfixes.
The few that aren't cc'd to stable are cleanup or seemed unlikely to
affect anyone much"
* 'for-4.1' of git://linux-nfs.org/~bfields/linux:
uapi: Remove kernel internal declaration
nfsd: fix nsfd startup race triggering BUG_ON
nfsd: eliminate NFSD_DEBUG
nfsd4: fix READ permission checking
nfsd4: disallow SEEK with special stateids
nfsd4: disallow ALLOCATE with special stateids
nfsd: add NFSEXP_PNFS to the exflags array
nfsd: Remove duplicate macro define for max sec label length
nfsd: allow setting acls with unenforceable DENYs
nfsd: NFSD_FAULT_INJECTION depends on DEBUG_FS
nfsd: remove unused status arg to nfsd4_cleanup_open_state
nfsd: remove bogus setting of status in nfsd4_process_open2
NFSD: Use correct reply size calculating function
NFSD: Using path_equal() for checking two paths
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/nfs4.h | 7 | ||||
-rw-r--r-- | include/uapi/linux/nfsd/debug.h | 8 | ||||
-rw-r--r-- | include/uapi/linux/nfsd/export.h | 3 |
3 files changed, 3 insertions, 15 deletions
diff --git a/include/uapi/linux/nfs4.h b/include/uapi/linux/nfs4.h index 35f5f4c6c260..adc0aff83fbb 100644 --- a/include/uapi/linux/nfs4.h +++ b/include/uapi/linux/nfs4.h | |||
@@ -162,13 +162,6 @@ | |||
162 | */ | 162 | */ |
163 | #define NFS4_MAX_BACK_CHANNEL_OPS 2 | 163 | #define NFS4_MAX_BACK_CHANNEL_OPS 2 |
164 | 164 | ||
165 | enum nfs4_acl_whotype { | ||
166 | NFS4_ACL_WHO_NAMED = 0, | ||
167 | NFS4_ACL_WHO_OWNER, | ||
168 | NFS4_ACL_WHO_GROUP, | ||
169 | NFS4_ACL_WHO_EVERYONE, | ||
170 | }; | ||
171 | |||
172 | #endif /* _UAPI_LINUX_NFS4_H */ | 165 | #endif /* _UAPI_LINUX_NFS4_H */ |
173 | 166 | ||
174 | /* | 167 | /* |
diff --git a/include/uapi/linux/nfsd/debug.h b/include/uapi/linux/nfsd/debug.h index 0bf130a1c58d..28ec6c9c421a 100644 --- a/include/uapi/linux/nfsd/debug.h +++ b/include/uapi/linux/nfsd/debug.h | |||
@@ -12,14 +12,6 @@ | |||
12 | #include <linux/sunrpc/debug.h> | 12 | #include <linux/sunrpc/debug.h> |
13 | 13 | ||
14 | /* | 14 | /* |
15 | * Enable debugging for nfsd. | ||
16 | * Requires RPC_DEBUG. | ||
17 | */ | ||
18 | #if IS_ENABLED(CONFIG_SUNRPC_DEBUG) | ||
19 | # define NFSD_DEBUG 1 | ||
20 | #endif | ||
21 | |||
22 | /* | ||
23 | * knfsd debug flags | 15 | * knfsd debug flags |
24 | */ | 16 | */ |
25 | #define NFSDDBG_SOCK 0x0001 | 17 | #define NFSDDBG_SOCK 0x0001 |
diff --git a/include/uapi/linux/nfsd/export.h b/include/uapi/linux/nfsd/export.h index d3bd6ffec041..0df7bd5d2fb1 100644 --- a/include/uapi/linux/nfsd/export.h +++ b/include/uapi/linux/nfsd/export.h | |||
@@ -21,6 +21,9 @@ | |||
21 | 21 | ||
22 | /* | 22 | /* |
23 | * Export flags. | 23 | * Export flags. |
24 | * | ||
25 | * Please update the expflags[] array in fs/nfsd/export.c when adding | ||
26 | * a new flag. | ||
24 | */ | 27 | */ |
25 | #define NFSEXP_READONLY 0x0001 | 28 | #define NFSEXP_READONLY 0x0001 |
26 | #define NFSEXP_INSECURE_PORT 0x0002 | 29 | #define NFSEXP_INSECURE_PORT 0x0002 |