Make VFS op "streaminfo" stackable

Volker Lendecke Volker.Lendecke at SerNet.DE
Thu Aug 25 12:17:10 MDT 2011


On Thu, Aug 25, 2011 at 10:52:46AM -0700, Jeremy Allison wrote:
> > diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c
> > index 35a8331..720bc4d 100644
> > --- a/source3/smbd/vfs.c
> > +++ b/source3/smbd/vfs.c
> > @@ -1673,6 +1673,8 @@ NTSTATUS smb_vfs_call_streaminfo(struct
> > vfs_handle_struct *handle,
> >                                  struct stream_struct **streams)
> >  {
> >         VFS_FIND(streaminfo);
> > +       *num_streams = 0;
> > +       *streams = NULL;
> >         return handle->fns->streaminfo(handle, fsp, fname, mem_ctx,
> >                                        num_streams, streams);
> >  }
> > 
> > I'll provide a complete patch covering all modules that implement the
> > streaminfo VFS op, if I receive positive feedback for the basic idea.
> 
> Yes please ! This is an excellent change. All modules should be stackable
> if possible.

Probably a mid-air collision: I think this hunk is wrong.
Have you seen my other message in this thread? Am I wrong
here?

Thanks,

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen


More information about the samba-technical mailing list