static int proxy_truncate(FsContext *ctx, V9fsPath *fs_path, off_t size)

{

    int retval;



    retval = v9fs_request(ctx->private, T_TRUNCATE, NULL, "sq", fs_path, size);

    if (retval < 0) {

        errno = -retval;

        return -1;

    }

    return 0;

}

static int proxy_truncate(FsContext *ctx, V9fsPath *fs_path, off_t size)

{

    int retval;



    retval = v9fs_request(ctx->private, T_TRUNCATE, NULL, "sq", fs_path, size);

    if (retval < 0) {

        errno = -retval;

        return -1;

    }

    return 0;

}

static int FUNC_0(FsContext *VAR_0, V9fsPath *VAR_1, off_t VAR_2)

{

    int VAR_3;



    VAR_3 = v9fs_request(VAR_0->private, T_TRUNCATE, NULL, "sq", VAR_1, VAR_2);

    if (VAR_3 < 0) {

        errno = -VAR_3;

        return -1;

    }

    return 0;

}

static int FUNC_0(FsContext *VAR_0, V9fsPath *VAR_1, off_t VAR_2)
{ int VAR_3; VAR_3 = v9fs_request(VAR_0->private, T_TRUNCATE, NULL, "sq", VAR_1, VAR_2); if (VAR_3 < 0) { errno = -VAR_3; return -1; } return 0; }