From 578d7157558e4303bfed583cded4c4f35b4e2911 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 29 Mar 2004 23:39:13 +0000 Subject: Setting EA's to zero length deletes them. Jeremy. (This used to be commit 01fb8717628d1daad19725a97f6ae2d729afcac2) --- source3/smbd/trans2.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'source3/smbd/trans2.c') diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index 2f164dafa2..9f5ef09454 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -49,6 +49,16 @@ SMB_BIG_UINT get_allocation_size(files_struct *fsp, SMB_STRUCT_STAT *sbuf) return ret; } +/**************************************************************************** + Utility functions for dealing with extended attributes. +****************************************************************************/ + +struct ea_list { + struct ea_list *next, *prev; + struct ea_struct ea; +}; + +static /**************************************************************************** Send the required number of replies back. We assume all fields other than the data fields are -- cgit