static void nfs_client_close(NFSClient *client)

{

    if (client->context) {

        if (client->fh) {

            nfs_close(client->context, client->fh);

        }

        aio_set_fd_handler(client->aio_context, nfs_get_fd(client->context),

                           false, NULL, NULL, NULL, NULL);

        nfs_destroy_context(client->context);

    }

    memset(client, 0, sizeof(NFSClient));

}

static void nfs_client_close(NFSClient *client)

{

    if (client->context) {

        if (client->fh) {

            nfs_close(client->context, client->fh);

        }

        aio_set_fd_handler(client->aio_context, nfs_get_fd(client->context),

                           false, NULL, NULL, NULL, NULL);

        nfs_destroy_context(client->context);

    }

    memset(client, 0, sizeof(NFSClient));

}

    memset(client, 0, sizeof(NFSClient));
static void FUNC_0(NFSClient *VAR_0)

{

    if (VAR_0->context) {

        if (VAR_0->fh) {

            nfs_close(VAR_0->context, VAR_0->fh);

        }

        aio_set_fd_handler(VAR_0->aio_context, nfs_get_fd(VAR_0->context),

                           false, NULL, NULL, NULL, NULL);

        nfs_destroy_context(VAR_0->context);

    }

    memset(VAR_0, 0, sizeof(NFSClient));

}

static void FUNC_0(NFSClient *VAR_0)
{ if (VAR_0->context) { if (VAR_0->fh) { nfs_close(VAR_0->context, VAR_0->fh); } aio_set_fd_handler(VAR_0->aio_context, nfs_get_fd(VAR_0->context),
false, NULL, NULL, NULL, NULL); nfs_destroy_context(VAR_0->context); } memset(VAR_0, 0, sizeof(NFSClient)); }