[PATCH] Update VFS mknod to use struct smb_filename.

Jeremy Allison jra at samba.org
Wed May 24 00:10:03 UTC 2017

On Fri, May 19, 2017 at 03:27:25PM -0700, Jeremy Allison wrote:
> Hi all,
> In order to do the things we need to do in the VFS
> moving forward and modernize it, we need to remove
> all uses of pathnames passed in as const char *, and
> replace them with const struct smb_filename *. This
> will allow us to do all the fancy timestamp stuff etc.
> I mentioned in my previous patch.
> The functions we need to fix are:
> disk_free
> rename
> link
> symlink
> chdir
> readlink
> mknod
> realpth
> getxattr
> listxattr
> removexattr
> setxattr
> get_real_filename
> chflags
> So here is a start, fixing the VFS mknod call

FYI. There are more that need fixing. I'm
creating a jumbo patch that includes this
one so please don't push this one for now !



More information about the samba-technical mailing list