summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-12-01 14:26:58 -0800
committerJeremy Allison <jra@samba.org>2008-12-01 14:26:58 -0800
commit65169a43b321cd06d2f9474183ca8195c6182333 (patch)
tree2f151c6c637413675d92ae3a5a73c520b29fa8a9
parenta8004a4ef5713a2005ae6ead1d510f30080ecb6f (diff)
downloadsamba-65169a43b321cd06d2f9474183ca8195c6182333.tar.gz
samba-65169a43b321cd06d2f9474183ca8195c6182333.tar.bz2
samba-65169a43b321cd06d2f9474183ca8195c6182333.zip
s3:streams_xattr: fstat should do a stat on the base file
The behavior of stat and fstat should be the same. metze
-rw-r--r--source3/modules/vfs_streams_xattr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_streams_xattr.c b/source3/modules/vfs_streams_xattr.c
index 6530a1813b..ecfc31970d 100644
--- a/source3/modules/vfs_streams_xattr.c
+++ b/source3/modules/vfs_streams_xattr.c
@@ -148,7 +148,7 @@ static int streams_xattr_fstat(vfs_handle_struct *handle, files_struct *fsp,
return -1;
}
- if (SMB_VFS_NEXT_FSTAT(handle, fsp, sbuf) == -1) {
+ if (SMB_VFS_STAT(handle->conn, io->base, sbuf) == -1) {
return -1;
}