]> git.proxmox.com Git - mirror_lxcfs.git/commit
fix reinitialization with fuse3
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 29 Jul 2022 07:30:10 +0000 (09:30 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 29 Jul 2022 07:30:10 +0000 (09:30 +0200)
commit5976d0349c1900e2649b7d2904d98ba6a7278e6b
treeb55bd872fb23de3ddbc388aa43aedc9a962eee19
parentbf8f18519dfc47b9da7f522d24fb8c1776b8a415
fix reinitialization with fuse3

With fuse3 `fuse_get_context` returns NULL before fuse was
fully initialized, so we must not access it.

Futher, we call 'do_reload' for normal initialization as
well, so let's prevent that from re-initializing the
bindings initially and only do this on actual reloads,
otherwise we do it twice on startup.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Fixes #549
src/bindings.c
src/lxcfs.c