summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2014-07-03 10:07:37 +0200
committerChristof Schmitt <cs@samba.org>2014-07-13 08:59:11 +0200
commit573ca6ef6b8376800d8fc988d67909e103b74656 (patch)
tree2eaf286f714b5f3791a04900abe7582e0db5509e
parent7c5ea400ad1f280f5c338c31a0a893154340fdb3 (diff)
downloadsamba-573ca6ef6b8376800d8fc988d67909e103b74656.tar.gz
samba-573ca6ef6b8376800d8fc988d67909e103b74656.tar.xz
samba-573ca6ef6b8376800d8fc988d67909e103b74656.zip
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>
-rw-r--r--source3/modules/vfs_gpfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/modules/vfs_gpfs.c b/source3/modules/vfs_gpfs.c
index 5ad2595544..d8d59f95a9 100644
--- a/source3/modules/vfs_gpfs.c
+++ b/source3/modules/vfs_gpfs.c
@@ -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;
}