bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/3] libnetfs: new user callback: netfs_get_filemap()


From: Samuel Thibault
Subject: Re: [PATCH 1/3] libnetfs: new user callback: netfs_get_filemap()
Date: Sun, 12 Dec 2021 16:22:41 +0100
User-agent: NeoMutt/20170609 (1.8.3)

Joan Lledó, le dim. 12 déc. 2021 14:08:15 +0100, a ecrit:
> Provide the user with a new callback so they can implement file
> mapping over file system nodes.
> 
> * libnetfs/netfs.h: Add prototype for netfs_get_filemap
> 
> * acpi/netfs_impl.c:
> * console-client/trans.c:
> * console/console.c:
> * eth-multiplexer/netfs_impl.c:
> * ftpfs/netfs.c:
> * hostmux/mux.c:
> * libnetfs/netfs.h:
> * nfs/ops.c:
> * pci-arbiter/netfs_impl.c:
> * procfs/netfs.c:
> * trans/fakeroot.c:
> * usermux/mux.c:
>       * Implement empty netfs_get_filemap()

Rather than requiring the translator to provide a netfs_get_filemap
(which breaks compatibility for any existing translator using
libnetfs), you can add a weak definition in libnetfs, see for instance
libnetfs/set-get-trans.c.

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]