Inconsistent naming of vfs_read in the VFS Function pointer structure ...
Andrew Bartlett
abartlet at samba.org
Fri Dec 2 04:02:04 MST 2011
On Mon, 2011-11-28 at 13:02 -0800, Jeremy Allison wrote:
> On Sat, Nov 26, 2011 at 01:19:10PM -0800, Richard Sharpe wrote:
> > Hi folks,
> >
> > I came across this:
> >
> > /* File operations */
> >
> > .open_fn = vfswrap_open,
> > .create_file = vfswrap_create_file,
> > .close_fn = vfswrap_close,
> > .vfs_read = vfswrap_read,
> > .pread = vfswrap_pread,
> > .write = vfswrap_write,
> > .pwrite = vfswrap_pwrite,
> > .lseek = vfswrap_lseek,
> >
> > Is there any reason that it is vfs_read and not just read?
>
> We should probably do a global rename to _fn for 4.0.0,
> to have consistent naming. It breaks all outside tree
> libraries though.
>
> Maybe out-of-tree folks can respond ? Would this be
> ok for 4.0.0 ?
While this would be a bigger change, we already changed a number of
other things for out of tree modules (we even changed the init function
name!), so it seems like a good opportunity.
Andrew Bartlett
--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
More information about the samba-technical
mailing list