All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Cooper <amc96@srcf.net>
To: Juergen Gross <jgross@suse.com>, xen-devel@lists.xenproject.org
Cc: Wei Liu <wl@xen.org>, Anthony PERARD <anthony.perard@citrix.com>
Subject: Re: [PATCH v2 3/3] tools/libs/ctrl: remove file related handling
Date: Tue, 11 Jan 2022 20:10:06 +0000	[thread overview]
Message-ID: <e5a57fd0-3274-db2b-0dff-9f8d7ea3c658@srcf.net> (raw)
In-Reply-To: <20220111150318.22570-4-jgross@suse.com>

On 11/01/2022 15:03, Juergen Gross wrote:
> There is no special file handling related to libxenctrl in Mini-OS
> any longer, so the close hook can be removed.
>
> Signed-off-by: Juergen Gross <jgross@suse.com>

Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>

> ---
> V2:
> - new patch
> ---
>  tools/libs/ctrl/xc_minios.c | 9 ---------
>  1 file changed, 9 deletions(-)
>
> diff --git a/tools/libs/ctrl/xc_minios.c b/tools/libs/ctrl/xc_minios.c
> index 1799daafdc..3dea7a78a5 100644
> --- a/tools/libs/ctrl/xc_minios.c
> +++ b/tools/libs/ctrl/xc_minios.c
> @@ -35,15 +35,6 @@
>  
>  #include "xc_private.h"
>  
> -void minios_interface_close_fd(int fd);
> -
> -extern void minios_interface_close_fd(int fd);

This is even more nonsense than the evtchn side.  Good riddance.

~Andrew

> -
> -void minios_interface_close_fd(int fd)
> -{
> -    files[fd].type = FTYPE_NONE;
> -}
> -
>  /* Optionally flush file to disk and discard page cache */
>  void discard_file_cache(xc_interface *xch, int fd, int flush)
>  {



      reply	other threads:[~2022-01-11 20:10 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-11 15:03 [PATCH v2 0/3] tools/libs: decouple more from mini-os Juergen Gross
2022-01-11 15:03 ` [PATCH v2 1/3] tools/libs/evtchn: " Juergen Gross
2022-01-11 19:56   ` Andrew Cooper
2022-01-12  7:22     ` Juergen Gross
2022-01-12 13:21       ` Juergen Gross
2022-01-11 15:03 ` [PATCH v2 2/3] tools/libs/gnttab: " Juergen Gross
2022-01-11 20:08   ` Andrew Cooper
2022-01-12  7:27     ` Juergen Gross
2022-01-12  8:34       ` Andrew Cooper
2022-01-11 15:03 ` [PATCH v2 3/3] tools/libs/ctrl: remove file related handling Juergen Gross
2022-01-11 20:10   ` Andrew Cooper [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e5a57fd0-3274-db2b-0dff-9f8d7ea3c658@srcf.net \
    --to=amc96@srcf.net \
    --cc=anthony.perard@citrix.com \
    --cc=jgross@suse.com \
    --cc=wl@xen.org \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.