[PATCH] VFS - change vfs_streaminfo to take a const struct smb_filename * from a const char *

Ralph Boehme rb at sernet.de
Mon Mar 7 08:44:55 UTC 2016


On Sat, Mar 05, 2016 at 08:56:44PM -0800, Jeremy Allison wrote:
> So that "final" VFS patch converting lchown to
> const struct smb_filename * that Ralph pushed...
> 
> Wasn't quite the final change needed to the VFS :-).
> 
> Sorry, I forgot vfs_streaminfo, so here it is (I
> started on my patchset to eliminate uses of lp_posix_pathnames()
> then ran into the uses in vfs_streaminfo pretty
> quickly :-).
> 
> So here is a 5-unit patchset.
> 
> 1). Change vfs_fruit to pass in an fsp when calling
> vfs_streaminfo() when it has one available.
> 2). Change delete_all_streams() to const struct smb_filename *
> from const char *.
> 3). Make open_streams_for_delete() static.
> 4). Change open_streams_for_delete() to const struct smb_filename *
> from const char *.
> 5). Change vfs_streaminfo() to const struct smb_filename *
> from const char *.
> 
> Passes local make test.
> 
> Please review and push if happy !

happy & pushed!

-Ralph

-- 
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
http://www.sernet.de,mailto:kontakt@sernet.de



More information about the samba-technical mailing list