Re: [RFC PATCH 0/6] Convert mount_single-using filesystems to fs_context
From: David Howells
Date: Thu Mar 21 2019 - 13:06:32 EST
Richard Weinberger <richard@xxxxxx> wrote:
> Just gave it a try, jffs2 does not mount anymore. The problem is that you
> define an Opt_source in super.c, but never evaluate it ->
> jffs2_parse_param() returns -EINVAL.
> What I really don't get is the new logging stuff in
> include/linux/fs_context.h. printk() is already an overloaded beat, why
> another layer?
Because there are some patches that aren't upstream yet that allow you to read
these out through the file descriptor you control the mount process through
rather than them going into dmesg.
> The log output seems very odd to me:
> [ 13.117593] e MTD: Couldn't look up '/dev/mtd0': -15
> Please notice the "e" before MTD, first I though this is a memory
> corruption, but is your log level?!
Thanks - I'll fix that.