diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-12-26 15:06:03 -0500 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-12-28 09:57:08 -0500 |
commit | 95864c9154c1385c33e6782f4467c8f1422c1c90 (patch) | |
tree | 116a27b1362eda1d1ae3148f2c289b8c46919e07 /fs/nfs | |
parent | 68d264cf02b076a2457aa77c044f5e41b6fa8086 (diff) |
NFS: Allow the combination pNFS and labeled NFS
Fix the nfs4_pnfs_open_bitmap so that it also allows for labeled NFS.
Signed-off-by: Trond Myklebust <trond,myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs')
-rw-r--r-- | fs/nfs/nfs4proc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index 2f1714fda666..1028d6dc40c0 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c | |||
@@ -208,6 +208,9 @@ static const u32 nfs4_pnfs_open_bitmap[3] = { | |||
208 | | FATTR4_WORD1_TIME_METADATA | 208 | | FATTR4_WORD1_TIME_METADATA |
209 | | FATTR4_WORD1_TIME_MODIFY, | 209 | | FATTR4_WORD1_TIME_MODIFY, |
210 | FATTR4_WORD2_MDSTHRESHOLD | 210 | FATTR4_WORD2_MDSTHRESHOLD |
211 | #ifdef CONFIG_NFS_V4_SECURITY_LABEL | ||
212 | | FATTR4_WORD2_SECURITY_LABEL | ||
213 | #endif | ||
211 | }; | 214 | }; |
212 | 215 | ||
213 | static const u32 nfs4_open_noattr_bitmap[3] = { | 216 | static const u32 nfs4_open_noattr_bitmap[3] = { |