projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68d264c
)
NFS: Allow the combination pNFS and labeled NFS
author
Trond Myklebust
<trond.myklebust@primarydata.com>
Sat, 26 Dec 2015 20:06:03 +0000
(15:06 -0500)
committer
Trond Myklebust
<trond.myklebust@primarydata.com>
Mon, 28 Dec 2015 14:57:08 +0000
(09:57 -0500)
Fix the nfs4_pnfs_open_bitmap so that it also allows for labeled NFS.
Signed-off-by: Trond Myklebust <trond,myklebust@primarydata.com>
fs/nfs/nfs4proc.c
patch
|
blob
|
history
diff --git
a/fs/nfs/nfs4proc.c
b/fs/nfs/nfs4proc.c
index 2f1714fda666b51158ecdbb69cbc0626baa12d27..1028d6dc40c039792f07428c5825f5caa709c6a7 100644
(file)
--- a/
fs/nfs/nfs4proc.c
+++ b/
fs/nfs/nfs4proc.c
@@
-208,6
+208,9
@@
static const u32 nfs4_pnfs_open_bitmap[3] = {
| FATTR4_WORD1_TIME_METADATA
| FATTR4_WORD1_TIME_MODIFY,
FATTR4_WORD2_MDSTHRESHOLD
+#ifdef CONFIG_NFS_V4_SECURITY_LABEL
+ | FATTR4_WORD2_SECURITY_LABEL
+#endif
};
static const u32 nfs4_open_noattr_bitmap[3] = {