git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3294adf
)
s3:streams_xattr: fstat should do a stat on the base file
author
Stefan Metzmacher
<metze@samba.org>
Wed, 26 Nov 2008 21:57:27 +0000
(22:57 +0100)
committer
Stefan 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
patch
|
blob
|
history
diff --git
a/source/modules/vfs_streams_xattr.c
b/source/modules/vfs_streams_xattr.c
index 6530a1813bd29bc16187d4d5670c78f3d7d055ac..ecfc31970dae7a960437779833047b49995f0cd4 100644
(file)
--- a/
source/modules/vfs_streams_xattr.c
+++ b/
source/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;
}