1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00

Renamed vfs_init() to smbd_vfs_init() to allow vfs modules to compile.

This commit is contained in:
Tim Potter 0001-01-01 00:00:00 +00:00
parent 5392b3fc12
commit 7c3542ba87
3 changed files with 5 additions and 5 deletions

View File

@ -99,7 +99,7 @@ static BOOL create_conn_struct( connection_struct *conn, int snum, char *path)
conn->service = snum;
conn->connectpath = path;
if (!vfs_init(conn)) {
if (!smbd_vfs_init(conn)) {
DEBUG(0,("create_conn_struct: vfs init failed.\n"));
return False;
}

View File

@ -551,7 +551,7 @@ connection_struct *make_connection(char *service,char *password,
}
/* Initialise VFS function pointers */
if (!vfs_init(conn)) {
if (!smbd_vfs_init(conn)) {
DEBUG(0, ("vfs_init failed for service %s\n", lp_servicename(SNUM(conn))));
conn_free(conn);
return NULL;

View File

@ -154,7 +154,7 @@ static BOOL vfs_init_custom(connection_struct *conn)
Generic VFS init.
******************************************************************/
BOOL vfs_init(connection_struct *conn)
BOOL smbd_vfs_init(connection_struct *conn)
{
if (*lp_vfsobj(SNUM(conn))) {
#ifdef HAVE_LIBDL
@ -162,13 +162,13 @@ BOOL vfs_init(connection_struct *conn)
/* Loadable object file */
if (!vfs_init_custom(conn)) {
DEBUG(0, ("vfs_init: vfs_init_custom failed\n"));
DEBUG(0, ("smbd_vfs_init: vfs_init_custom failed\n"));
return False;
}
return True;
#else
DEBUG(0, ("vfs_init: No libdl present - cannot use VFS objects\n"));
DEBUG(0, ("smbd_vfs_init: No libdl present - cannot use VFS objects\n"));
return False;
#endif
}