s3:vfs:gpfs: store the winAttrs in the struct_ex when we got them in vfs_gpfs_fstat()
authorMichael Adam <obnox@samba.org>
Thu, 3 Jul 2014 08:07:37 +0000 (10:07 +0200)
committerChristof Schmitt <cs@samba.org>
Sun, 13 Jul 2014 06:59:11 +0000 (08:59 +0200)
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>
source3/modules/vfs_gpfs.c

index 5ad2595544dca530cc12c0832ef2a6ca7d09507c..d8d59f95a9c4badad0e28026cdb4519d205f1454 100644 (file)
@@ -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;
 }