]> git.ipfire.org Git - thirdparty/samba.git/commit
vfs_streams_xattr: invalidate stat info if xattr was not found
authorRalph Boehme <slow@samba.org>
Thu, 11 May 2017 05:59:20 +0000 (07:59 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 14 Aug 2017 08:50:10 +0000 (10:50 +0200)
commitda22be9167a342e2edfbdb49a9b9d34e5bde9b66
tree1999dd99b860752e114c0ef6c9da0791c8b75903
parent715e1c917a3988883c5a2e92edef1cd1989b7213
vfs_streams_xattr: invalidate stat info if xattr was not found

We stat the basefile so we leave valid stat info from the base file
behind, even though the xattr for the stream was not there.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=12791

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Richard Sharpe <realrichardsharpe@gmail.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
(backported from commit ec32f33ea6d50d9cb504400c3ef1e78643502e1a)
source3/modules/vfs_streams_xattr.c