On a Monday in 2022, Michal Privoznik wrote:
>Unfortunately, we can't just replace FUSE with FUSE3 because Ubuntu1804
>doesn't have fuse3 package, but in a few weeks time, when the support
>for old Ubuntu is dropped, we can drop old FUSE support too.
>
>Michal Prívozník (17):
> lxc_fuse: Hide struct virLXCFuse
> lxc_fuse: Move virLXCMeminfo struct into lxc_cgroup.h
> lxc_fuse.h: Don't include lxc_conf.h
> lxc_fuse: Move #include <fuse.h>
> lxc_fuse: Drop some G_GNUC_UNUSED attributes
> lxc_fuse.c: Modernize function declarations
> lxc_fuse: Prefer O_ACCMODE instead of & 3
> lxcSetupFuse: Cleanup error paths
> lxcProcReadMeminfo: Rename @fd to @fp
> lxc_fuse: Use automatic file closing
> lxcProcReadMeminfo: Drop needless label
> lxcProcReadMeminfo: Drop @new_meminfo variable
> lxcProcReadMeminfo: Fix case when @offset != 0
> lxc_fuse: Prefer fuse_file_info::direct_io over mount option
> lxc_fuse: Tell FUSE that /proc/meminfo is nonseekable
> lxc_fuse: Implement support for FUSE3
> meson: Detect newer fuse
>
> meson.build | 12 +-
> src/lxc/lxc_cgroup.h | 13 +++
> src/lxc/lxc_fuse.c | 258 ++++++++++++++++++++++++++++++-------------
> src/lxc/lxc_fuse.h | 28 +----
> 4 files changed, 207 insertions(+), 104 deletions(-)
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Jano