aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/nfs4proc.c')
-rw-r--r--fs/nfs/nfs4proc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index abf46f4b5d19..bcf60f15213c 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -161,7 +161,7 @@ static const u32 nfs4_open_noattr_bitmap[3] = {
161 | FATTR4_WORD0_FILEID, 161 | FATTR4_WORD0_FILEID,
162}; 162};
163 163
164const u32 nfs4_statfs_bitmap[2] = { 164const u32 nfs4_statfs_bitmap[3] = {
165 FATTR4_WORD0_FILES_AVAIL 165 FATTR4_WORD0_FILES_AVAIL
166 | FATTR4_WORD0_FILES_FREE 166 | FATTR4_WORD0_FILES_FREE
167 | FATTR4_WORD0_FILES_TOTAL, 167 | FATTR4_WORD0_FILES_TOTAL,
@@ -170,7 +170,7 @@ const u32 nfs4_statfs_bitmap[2] = {
170 | FATTR4_WORD1_SPACE_TOTAL 170 | FATTR4_WORD1_SPACE_TOTAL
171}; 171};
172 172
173const u32 nfs4_pathconf_bitmap[2] = { 173const u32 nfs4_pathconf_bitmap[3] = {
174 FATTR4_WORD0_MAXLINK 174 FATTR4_WORD0_MAXLINK
175 | FATTR4_WORD0_MAXNAME, 175 | FATTR4_WORD0_MAXNAME,
176 0 176 0
@@ -185,7 +185,7 @@ const u32 nfs4_fsinfo_bitmap[3] = { FATTR4_WORD0_MAXFILESIZE
185 FATTR4_WORD2_LAYOUT_BLKSIZE 185 FATTR4_WORD2_LAYOUT_BLKSIZE
186}; 186};
187 187
188const u32 nfs4_fs_locations_bitmap[2] = { 188const u32 nfs4_fs_locations_bitmap[3] = {
189 FATTR4_WORD0_TYPE 189 FATTR4_WORD0_TYPE
190 | FATTR4_WORD0_CHANGE 190 | FATTR4_WORD0_CHANGE
191 | FATTR4_WORD0_SIZE 191 | FATTR4_WORD0_SIZE
@@ -201,7 +201,7 @@ const u32 nfs4_fs_locations_bitmap[2] = {
201 | FATTR4_WORD1_TIME_ACCESS 201 | FATTR4_WORD1_TIME_ACCESS
202 | FATTR4_WORD1_TIME_METADATA 202 | FATTR4_WORD1_TIME_METADATA
203 | FATTR4_WORD1_TIME_MODIFY 203 | FATTR4_WORD1_TIME_MODIFY
204 | FATTR4_WORD1_MOUNTED_ON_FILEID 204 | FATTR4_WORD1_MOUNTED_ON_FILEID,
205}; 205};
206 206
207static void nfs4_setup_readdir(u64 cookie, __be32 *verifier, struct dentry *dentry, 207static void nfs4_setup_readdir(u64 cookie, __be32 *verifier, struct dentry *dentry,
@@ -5318,7 +5318,7 @@ static int _nfs4_proc_fs_locations(struct rpc_clnt *client, struct inode *dir,
5318 struct page *page) 5318 struct page *page)
5319{ 5319{
5320 struct nfs_server *server = NFS_SERVER(dir); 5320 struct nfs_server *server = NFS_SERVER(dir);
5321 u32 bitmask[2] = { 5321 u32 bitmask[3] = {
5322 [0] = FATTR4_WORD0_FSID | FATTR4_WORD0_FS_LOCATIONS, 5322 [0] = FATTR4_WORD0_FSID | FATTR4_WORD0_FS_LOCATIONS,
5323 }; 5323 };
5324 struct nfs4_fs_locations_arg args = { 5324 struct nfs4_fs_locations_arg args = {