summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-02-12 18:50:54 -0800
committerJeremy Allison <jra@samba.org>2010-02-12 18:50:54 -0800
commit465ffbadb8ec6f98d337319473c17720cb41bacd (patch)
tree1339910b8d38f768896476aa216dc8bbd9780427 /source3
parent1f89ffd0357bd226fc599f527b0570b3eba9f2b9 (diff)
downloadsamba-465ffbadb8ec6f98d337319473c17720cb41bacd.tar.gz
samba-465ffbadb8ec6f98d337319473c17720cb41bacd.tar.bz2
samba-465ffbadb8ec6f98d337319473c17720cb41bacd.zip
Remove #if SOFTLINK_OPTIMIZATION code.
This hasn't been turned on or been capable of doing so for many years now. Makes this jumbo function smaller... Jeremy.
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/service.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/source3/smbd/service.c b/source3/smbd/service.c
index d8ba4fee65..4f55ea924a 100644
--- a/source3/smbd/service.c
+++ b/source3/smbd/service.c
@@ -1037,23 +1037,6 @@ connection_struct *make_connection_snum(struct smbd_server_connection *sconn,
string_set(&conn->origpath,conn->connectpath);
-#if SOFTLINK_OPTIMISATION
- /* resolve any soft links early if possible */
- if (vfs_ChDir(conn,conn->connectpath) == 0) {
- TALLOC_CTX *ctx = talloc_tos();
- char *s = vfs_GetWd(ctx,s);
- if (!s) {
- *status = map_nt_error_from_unix(errno);
- goto err_root_exit;
- }
- if (!set_conn_connectpath(conn,s)) {
- *status = NT_STATUS_NO_MEMORY;
- goto err_root_exit;
- }
- vfs_ChDir(conn,conn->connectpath);
- }
-#endif
-
/* Figure out the characteristics of the underlying filesystem. This
* assumes that all the filesystem mounted withing a share path have
* the same characteristics, which is likely but not guaranteed.