mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
s3:vfs:gpfs: store the winAttrs in the struct_ex when we got them in vfs_gpfs_fstat()
This may (e.g.) have lead to some occurrences of flapping offline bits. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Christof Schmitt <cs@samba.org>
This commit is contained in:
parent
7c5ea400ad
commit
573ca6ef6b
@ -1622,6 +1622,7 @@ static int vfs_gpfs_fstat(struct vfs_handle_struct *handle,
|
||||
sbuf->st_ex_calculated_birthtime = false;
|
||||
sbuf->st_ex_btime.tv_sec = attrs.creationTime.tv_sec;
|
||||
sbuf->st_ex_btime.tv_nsec = attrs.creationTime.tv_nsec;
|
||||
sbuf->vfs_private = attrs.winAttrs;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user