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
|
|
@ -98,8 +98,7 @@ static void init_component_args(
|
|||
| FATTR4_WORD0_FSID | FATTR4_WORD0_FILEID;
|
||||
args->attr_request.arr[1] = FATTR4_WORD1_MODE
|
||||
| FATTR4_WORD1_NUMLINKS | FATTR4_WORD1_TIME_ACCESS
|
||||
| FATTR4_WORD1_TIME_CREATE | FATTR4_WORD1_TIME_MODIFY |
|
||||
FATTR4_WORD1_OWNER | FATTR4_WORD1_OWNER_GROUP;
|
||||
| FATTR4_WORD1_TIME_CREATE | FATTR4_WORD1_TIME_MODIFY;
|
||||
|
||||
args->getrootattr.attr_request = &args->attr_request;
|
||||
res->root.path = path;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue