We only have the 'cfg' parameter defined here #if FUSE_VERSION >=
FUSE_MAKE_VERSION(3, 0), so only attempt to access it in that case as
well.
In particular, this fixes an issue when building on the GitHub Actions
runners.
Signed-off-by: Allison Karlitskaya <allison.karlitskaya@redhat.com>
#if FUSE_VERSION >= FUSE_MAKE_VERSION(3, 0)
conn->time_gran = 1;
cfg->use_ino = 1;
+ if (ff->debug)
+ cfg->debug = 1;
#endif
if (fs->flags & EXT2_FLAG_RW) {
fs->super->s_mnt_count++;
if (err)
translate_error(fs, 0, err);
}
- if (ff->debug)
- cfg->debug = 1;
if (ff->kernel) {
char uuid[UUID_STR_SIZE];