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