projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1efae38
)
nfs41: define NFS4_MAX_MINOR_VERSION based on CONFIG_NFS_V4_1
author
Mike Sager
<
[email protected]
>
Wed, 1 Apr 2009 13:21:47 +0000
(09:21 -0400)
committer
Benny Halevy
<
[email protected]
>
Wed, 17 Jun 2009 17:46:14 +0000
(10:46 -0700)
If 4.1 isn't supported, NFS4_MAX_MINOR_VERSION will be 0.
Signed-off-by: Mike Sager <
[email protected]
>
Signed-off-by: Benny Halevy <
[email protected]
>
Signed-off-by: Trond Myklebust <
[email protected]
>
include/linux/nfs4.h
patch
|
blob
|
history
diff --git
a/include/linux/nfs4.h
b/include/linux/nfs4.h
index e3f0cbcbd0db8179e6055b59411c2d64550d5db2..7c36fcf2dfb7a36bc3416807279daf2552a5872b 100644
(file)
--- a/
include/linux/nfs4.h
+++ b/
include/linux/nfs4.h
@@
-462,6
+462,13
@@
enum lock_type4 {
#define NFSPROC4_NULL 0
#define NFSPROC4_COMPOUND 1
#define NFS4_MINOR_VERSION 0
+
+#if defined(CONFIG_NFS_V4_1)
+#define NFS4_MAX_MINOR_VERSION 1
+#else
+#define NFS4_MAX_MINOR_VERSION 0
+#endif /* CONFIG_NFS_V4_1 */
+
#define NFS4_DEBUG 1
/* Index of predefined Linux client operations */