s3:streams_xattr: fstat should do a stat on the base file
authorStefan Metzmacher <metze@samba.org>
Wed, 26 Nov 2008 21:57:27 +0000 (22:57 +0100)
committerStefan Metzmacher <metze@samba.org>
Wed, 26 Nov 2008 22:03:10 +0000 (23:03 +0100)
The behavior of stat and fstat should be the same.

metze

source/modules/vfs_streams_xattr.c

index 6530a1813bd29bc16187d4d5670c78f3d7d055ac..ecfc31970dae7a960437779833047b49995f0cd4 100644 (file)
@@ -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;
        }