static int local_open(FsContext *ctx, V9fsPath *fs_path,

                      int flags, V9fsFidOpenState *fs)

{

    char *buffer;

    char *path = fs_path->data;

    int fd;



    buffer = rpath(ctx, path);

    fd = open(buffer, flags | O_NOFOLLOW);

    g_free(buffer);

    if (fd == -1) {

        return -1;

    }

    fs->fd = fd;

    return fs->fd;

}

static int local_open(FsContext *ctx, V9fsPath *fs_path,

                      int flags, V9fsFidOpenState *fs)

{

    char *buffer;

    char *path = fs_path->data;

    int fd;



    buffer = rpath(ctx, path);

    fd = open(buffer, flags | O_NOFOLLOW);

    g_free(buffer);

    if (fd == -1) {

        return -1;

    }

    fs->fd = fd;

    return fs->fd;

}

    char *buffer;     char *path = fs_path->data;     buffer = rpath(ctx, path);     fd = open(buffer, flags | O_NOFOLLOW);     g_free(buffer);     char *buffer;     char *path = fs_path->data;     buffer = rpath(ctx, path);     g_free(buffer);
static int FUNC_0(FsContext *VAR_0, V9fsPath *VAR_1,

                      int VAR_2, V9fsFidOpenState *VAR_3)

{

    char *VAR_4;

    char *VAR_5 = VAR_1->data;

    int VAR_6;



    VAR_4 = rpath(VAR_0, VAR_5);

    VAR_6 = open(VAR_4, VAR_2 | O_NOFOLLOW);

    g_free(VAR_4);

    if (VAR_6 == -1) {

        return -1;

    }

    VAR_3->VAR_6 = VAR_6;

    return VAR_3->VAR_6;

}

static int FUNC_0(FsContext *VAR_0, V9fsPath *VAR_1,
int VAR_2, V9fsFidOpenState *VAR_3)
{ char *VAR_4; char *VAR_5 = VAR_1->data; int VAR_6; VAR_4 = rpath(VAR_0, VAR_5); VAR_6 = open(VAR_4, VAR_2 | O_NOFOLLOW); g_free(VAR_4); if (VAR_6 == -1) { return -1; } VAR_3->VAR_6 = VAR_6; return VAR_3->VAR_6; }