Re: [PATCH] nilfs2: no longer save to shadow map if the num of members is too small
From: Edward Adam Davis
Date: Tue Mar 17 2026 - 20:08:41 EST
Have you been following the path below? If the argv0.v_nmembs value
passed from userspace is greater than 0, everything will function normally.
nilfs_ioctl_clean_segments()->
nilfs_ioctl_move_blocks()->
nilfs_iget_for_gc()->
nilfs_init_gcinode()->
nilfs_attach_btree_node_cache()
Causing the mount to fail solely because the dat B-tree wasn't initialized
is an excessive fix.
BR,
Edward