summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-10-09 17:44:02 +0000
committerGerald Carter <jerry@samba.org>2002-10-09 17:44:02 +0000
commit278744478b51049ca9dcce619f58f875e9cb8e44 (patch)
treed078976bcf9c642d15d005444b2d691342e57982
parent01da7d5617d319b1baa9e221051111ad7548feb9 (diff)
downloadsamba-278744478b51049ca9dcce619f58f875e9cb8e44.tar.gz
samba-278744478b51049ca9dcce619f58f875e9cb8e44.tar.bz2
samba-278744478b51049ca9dcce619f58f875e9cb8e44.zip
removed stat() call in lp_add_home()
(This used to be commit 07c7048aa4ef37f1b7af228ede391ab16503d9a1)
-rw-r--r--source3/param/loadparm.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index a0c77a0421..500119575a 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -1977,13 +1977,6 @@ BOOL lp_add_home(const char *pszHomename, int iDefaultService,
int i;
pstring newHomedir;
- SMB_STRUCT_STAT buf;
-
- /* if the user's home directory doesn't exist, then don't
- add it to the list of available shares */
- if (sys_stat(pszHomedir, &buf))
- return False;
-
i = add_a_service(ServicePtrs[iDefaultService], pszHomename);
if (i < 0)