git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vfs: Ensure we have a base fsp openat() for named streams
[samba.git]
/
source3
/
modules
/
vfs_streams_xattr.c
diff --git
a/source3/modules/vfs_streams_xattr.c
b/source3/modules/vfs_streams_xattr.c
index 48fc1cd134b2b52ec20260930dec5d3be485dedf..9f7dc0a2c505e9357a8b37eaec7d611ca63b49c6 100644
(file)
--- a/
source3/modules/vfs_streams_xattr.c
+++ b/
source3/modules/vfs_streams_xattr.c
@@
-343,6
+343,8
@@
static int streams_xattr_openat(struct vfs_handle_struct *handle,
mode);
}
+ SMB_ASSERT(fsp_is_alternate_stream(fsp));
+
/*
* For now assert this, so the below SMB_VFS_SETXATTR() works.
*/