s3: VFS: Change SMB_VFS_READLINK to use const struct smb_filename * instead of const...
[samba.git] / source3 / smbd / open.c
index 8fdc96376d87d3da45ad33423fee09929a15282a..e68e2ace85083bf2cda5f1f862002f76a4edbb12 100644 (file)
@@ -435,7 +435,7 @@ static int process_symlink_open(struct connection_struct *conn,
 
        /* Read the link target. */
        link_len = SMB_VFS_READLINK(conn,
-                               smb_fname->base_name,
+                               smb_fname,
                                link_target,
                                PATH_MAX - 1);
        if (link_len == -1) {