static int proxy_chmod(FsContext *fs_ctx, V9fsPath *fs_path, FsCred *credp)

{

    int retval;

    retval = v9fs_request(fs_ctx->private, T_CHMOD, NULL, "sd",

                          fs_path, credp->fc_mode);

    if (retval < 0) {

        errno = -retval;

    }

    return retval;

}

static int proxy_chmod(FsContext *fs_ctx, V9fsPath *fs_path, FsCred *credp)

{

    int retval;

    retval = v9fs_request(fs_ctx->private, T_CHMOD, NULL, "sd",

                          fs_path, credp->fc_mode);

    if (retval < 0) {

        errno = -retval;

    }

    return retval;

}

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

{

    int VAR_3;

    VAR_3 = v9fs_request(VAR_0->private, T_CHMOD, NULL, "sd",

                          VAR_1, VAR_2->fc_mode);

    if (VAR_3 < 0) {

        errno = -VAR_3;

    }

    return VAR_3;

}

static int FUNC_0(FsContext *VAR_0, V9fsPath *VAR_1, FsCred *VAR_2)
{ int VAR_3; VAR_3 = v9fs_request(VAR_0->private, T_CHMOD, NULL, "sd",
VAR_1, VAR_2->fc_mode); if (VAR_3 < 0) { errno = -VAR_3; } return VAR_3; }