mirror of
https://github.com/samba-team/samba.git
synced 2025-03-11 16:58:40 +03:00
libsmb: Remove file_info->[ug]id
These fields were never assigned Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
f2b692fb45
commit
94b8deffa2
@ -99,8 +99,6 @@ struct file_info {
|
||||
uint64_t size;
|
||||
uint64_t allocated_size;
|
||||
uint32_t attr;
|
||||
uid_t uid;
|
||||
gid_t gid;
|
||||
uint64_t ino;
|
||||
/* these times are normally kept in GMT */
|
||||
struct timespec btime_ts; /* Birth-time if supported by system */
|
||||
|
@ -186,10 +186,8 @@ static int add_dirplus(SMBCFILE *dir, struct file_info *finfo)
|
||||
info->atime_ts = finfo->atime_ts;
|
||||
info->ctime_ts = finfo->ctime_ts;
|
||||
info->mtime_ts = finfo->mtime_ts;
|
||||
info->gid = finfo->gid;
|
||||
info->attrs = finfo->attr;
|
||||
info->size = finfo->size;
|
||||
info->uid = finfo->uid;
|
||||
info->name = SMB_STRDUP(finfo->name);
|
||||
if (info->name == NULL) {
|
||||
SAFE_FREE(info);
|
||||
|
Loading…
x
Reference in New Issue
Block a user