summaryrefslogtreecommitdiff
path: root/source3/smbd/vfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/vfs.c')
-rw-r--r--source3/smbd/vfs.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c
index 62f03f0cd6..d24ae54d42 100644
--- a/source3/smbd/vfs.c
+++ b/source3/smbd/vfs.c
@@ -135,12 +135,9 @@ static struct vfs_ops default_vfs = {
static struct vfs_init_function_entry *vfs_find_backend_entry(const char *name)
{
struct vfs_init_function_entry *entry = backends;
- pstring stripped;
-
- module_path_get_name(name, stripped);
while(entry) {
- if (strequal(entry->name, stripped)) return entry;
+ if (strcmp(entry->name, name)==0) return entry;
entry = entry->next;
}