s3:streams_xattr: fstat should do a stat on the base file
authorStefan Metzmacher <metze@samba.org>
Mon, 1 Dec 2008 22:26:36 +0000 (14:26 -0800)
committerJeremy Allison <jra@samba.org>
Mon, 1 Dec 2008 22:26:36 +0000 (14:26 -0800)
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;
        }