query owner and group attr only on specific getattrs
previously we'd query owner and group file attributes on all getattrs and storing that in nfs41_file_info structure which was caused a problem for readdirs.
This commit is contained in:
parent
83d17fcb69
commit
316dfe568a
5 changed files with 20 additions and 16 deletions
|
|
@ -1010,8 +1010,7 @@ void init_getattr_request(bitmap4 *attr_request)
|
|||
FATTR4_WORD0_CHANGE | FATTR4_WORD0_SIZE | FATTR4_WORD0_FILEID;
|
||||
attr_request->arr[1] = FATTR4_WORD1_NUMLINKS |
|
||||
FATTR4_WORD1_TIME_ACCESS | FATTR4_WORD1_TIME_CREATE |
|
||||
FATTR4_WORD1_TIME_MODIFY | FATTR4_WORD1_MODE |
|
||||
FATTR4_WORD1_OWNER | FATTR4_WORD1_OWNER_GROUP;
|
||||
FATTR4_WORD1_TIME_MODIFY | FATTR4_WORD1_MODE;
|
||||
attr_request->arr[2] = 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue