diff options
-rw-r--r-- | source3/smbd/filename.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c index 9dd1523c73..b9e33e8f93 100644 --- a/source3/smbd/filename.c +++ b/source3/smbd/filename.c @@ -381,15 +381,6 @@ BOOL unix_convert(pstring name,connection_struct *conn,char *saved_last_componen if(!component_was_mangled && !name_has_wildcard) stat_cache_add(orig_path, name); - /* - * If we ended up resolving the entire path then return a valid - * stat struct if we got one. Note this doesn't catch mangled paths, - * but the check in the for loop above will do that. JRA. - */ - - if (VALID_STAT(st) && (strlen(orig_path) == strlen(name))) - *pst = st; - /* * The name has been resolved. */ |