static int proxy_link(FsContext *ctx, V9fsPath *oldpath,

                      V9fsPath *dirpath, const char *name)

{

    int retval;

    V9fsString newpath;



    v9fs_string_init(&newpath);

    v9fs_string_sprintf(&newpath, "%s/%s", dirpath->data, name);



    retval = v9fs_request(ctx->private, T_LINK, NULL, "ss", oldpath, &newpath);

    v9fs_string_free(&newpath);

    if (retval < 0) {

        errno = -retval;

        retval = -1;

    }

    return retval;

}

static int proxy_link(FsContext *ctx, V9fsPath *oldpath,

                      V9fsPath *dirpath, const char *name)

{

    int retval;

    V9fsString newpath;



    v9fs_string_init(&newpath);

    v9fs_string_sprintf(&newpath, "%s/%s", dirpath->data, name);



    retval = v9fs_request(ctx->private, T_LINK, NULL, "ss", oldpath, &newpath);

    v9fs_string_free(&newpath);

    if (retval < 0) {

        errno = -retval;

        retval = -1;

    }

    return retval;

}

static int FUNC_0(FsContext *VAR_0, V9fsPath *VAR_1,

                      V9fsPath *VAR_2, const char *VAR_3)

{

    int VAR_4;

    V9fsString newpath;



    v9fs_string_init(&newpath);

    v9fs_string_sprintf(&newpath, "%s/%s", VAR_2->data, VAR_3);



    VAR_4 = v9fs_request(VAR_0->private, T_LINK, NULL, "ss", VAR_1, &newpath);

    v9fs_string_free(&newpath);

    if (VAR_4 < 0) {

        errno = -VAR_4;

        VAR_4 = -1;

    }

    return VAR_4;

}

static int FUNC_0(FsContext *VAR_0, V9fsPath *VAR_1,
V9fsPath *VAR_2, const char *VAR_3)
{ int VAR_4; V9fsString newpath; v9fs_string_init(&newpath); v9fs_string_sprintf(&newpath, "%s/%s", VAR_2->data, VAR_3); VAR_4 = v9fs_request(VAR_0->private, T_LINK, NULL, "ss", VAR_1, &newpath); v9fs_string_free(&newpath); if (VAR_4 < 0) { errno = -VAR_4; VAR_4 = -1; } return VAR_4; }