This should have been added to struct libsmb_file_info, but
this is user-visible so I don't want to change this now. Adding
it to the containing struct allows us to synthesise a struct stat
to return from smbc_readdirplus2() to return all the info from
the server to callers.
Signed-off-by: Puran Chand <pchand@vmware.com>
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
struct smbc_dirplus_list {
struct smbc_dirplus_list *next;
struct libsmb_file_info *smb_finfo;
+ uint64_t ino;
};
/*
return -1;
}
ZERO_STRUCTP(new_entry);
+ new_entry->ino = finfo->ino;
info = SMB_MALLOC_P(struct libsmb_file_info);
if (info == NULL) {