diff options
author | Michael Adam <obnox@samba.org> | 2014-07-03 10:07:37 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2014-08-07 16:43:09 +0200 |
commit | bddae75c9ccaf036208b8b441ecfc0e4ebe3ecd2 (patch) | |
tree | b476e6aa4ea2109248f8e4ed5621676f629eafe3 /source3 | |
parent | 189afb40d2c8c61dde935be4c799e7da1ab8415b (diff) | |
download | samba-bddae75c9ccaf036208b8b441ecfc0e4ebe3ecd2.tar.gz |
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>
(cherry picked from commit 573ca6ef6b8376800d8fc988d67909e103b74656)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=10741
Diffstat (limited to 'source3')
-rw-r--r-- | source3/modules/vfs_gpfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/modules/vfs_gpfs.c b/source3/modules/vfs_gpfs.c index 4a53bf84e5..ca8f80deb4 100644 --- a/source3/modules/vfs_gpfs.c +++ b/source3/modules/vfs_gpfs.c @@ -1476,6 +1476,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; } |