On Tue, Apr 28, 2020 at 06:45:24PM +0200, Lukas Czerner wrote: > At the parsing phase of mount in the new mount api sb will not be > available so allow sb to be NULL in ext4_msg and use that in > handle_mount_opt(). > > Also change return value to appropriate -EINVAL where needed. Shouldn't mount-time messages be reported using the logfc and family helpers from include/linux/fs_context.h? (which btw, have really horrible over-generic names).