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:
Olga Kornievskaia 2011-07-18 14:21:29 -04:00 committed by unknown
parent 83d17fcb69
commit 316dfe568a
5 changed files with 20 additions and 16 deletions

View file

@ -226,10 +226,8 @@ typedef struct __nfs41_file_info {
bool_t symlink_dir;
bool_t symlink_support;
bool_t link_support;
char owner[NFS4_OPAQUE_LIMIT];
uint32_t owner_len;
char owner_group[NFS4_OPAQUE_LIMIT];
uint32_t owner_group_len;
char *owner;
char *owner_group;
uint32_t aclsupport;
} nfs41_file_info;