From ae7caf08c1f47f3ad08856cfea2a3e6e956b48ab Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 17 Nov 2004 05:58:04 +0000 Subject: r3798: added support for alternate data streams in xattrs into pvfs. The trickiest part about this was getting the sharing and locking rules right, as alternate streams are separate locking spaces from the main file for the purposes of byte range locking, and separate for most share violation rules. I suspect there are still problems with delete on close with alternate data streams. I'll look at that next. (This used to be commit b6452c4a2068cf7e837778559da002ae191b508a) --- source4/include/smb_interfaces.h | 2 +- source4/include/structs.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'source4/include') diff --git a/source4/include/smb_interfaces.h b/source4/include/smb_interfaces.h index acc2d503bb..43cb8af5a7 100644 --- a/source4/include/smb_interfaces.h +++ b/source4/include/smb_interfaces.h @@ -532,7 +532,7 @@ union smb_fileinfo { enum smb_fileinfo_level level; union smb_fileinfo_in in; - struct { + struct stream_information { uint_t num_streams; struct stream_struct *streams; } out; diff --git a/source4/include/structs.h b/source4/include/structs.h index 4ec8f1f4d3..9e64361dbf 100644 --- a/source4/include/structs.h +++ b/source4/include/structs.h @@ -91,6 +91,7 @@ struct pvfs_dir; struct pvfs_filename; struct pvfs_state; struct pvfs_file; +struct pvfs_file_handle; struct dcesrv_context; struct dcesrv_interface; -- cgit