[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <739480f1-4899-6da7-c9ac-9d4fd26c2474@huawei.com>
Date: Mon, 23 Oct 2023 15:12:14 +0800
From: ZhaoLong Wang <wangzhaolong1@...wei.com>
To: Richard Weinberger <richard@....at>
CC: chengzhihao1 <chengzhihao1@...wei.com>,
Miquel Raynal <miquel.raynal@...tlin.com>,
Vignesh Raghavendra <vigneshr@...com>,
dpervushin <dpervushin@...eddedalley.com>,
Artem Bityutskiy <Artem.Bityutskiy@...ia.com>,
linux-mtd <linux-mtd@...ts.infradead.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
yi zhang <yi.zhang@...wei.com>,
yangerkun <yangerkun@...wei.com>
Subject: Re: [PATCH v2] ubi: gluebi: Fix NULL pointer dereference caused by
ftl notifier
> ----- Ursprüngliche Mail -----
>> Von: "ZhaoLong Wang" <wangzhaolong1@...wei.com>
>> An: "richard" <richard@....at>, "chengzhihao1" <chengzhihao1@...wei.com>
>> CC: "Miquel Raynal" <miquel.raynal@...tlin.com>, "Vignesh Raghavendra" <vigneshr@...com>, "dpervushin"
>> <dpervushin@...eddedalley.com>, "Artem Bityutskiy" <Artem.Bityutskiy@...ia.com>, "linux-mtd"
>> <linux-mtd@...ts.infradead.org>, "linux-kernel" <linux-kernel@...r.kernel.org>, "yi zhang" <yi.zhang@...wei.com>,
>> "yangerkun" <yangerkun@...wei.com>
>> Gesendet: Montag, 23. Oktober 2023 08:41:12
>> Betreff: Re: [PATCH v2] ubi: gluebi: Fix NULL pointer dereference caused by ftl notifier
>
>>>
>>> IOW, no mtdblock (hence, also no FTLs) on top of gluebi.
>>>
>>> What do you guys think?
>>>
>>> Thanks,
>>> //richard
>>>
>>
>>
>> JFFS2 needs to work on the block device, so the mtdblock needs to work
>> on the top of gluebi.
>>
>> This is directly reflected in the jffs2 mount command, such as
>>
>> # mount -t jffs2 /dev/mtdblockX /mnt/jffs2
>
> The limitation is long gone. It comes from the dark and old times
> where Linux was only able to mount block devices.
>
> You can do: mount -t jffs2 mtdX /mnt/jffs2
>
> Thanks,
> //richard
>
Yes, I tried it and it worked. Thanks for the reminder.
But this modification rejects this usage. and rejects other block device
file systems (such as ext4) from working on gluebi.
Thank you.
Zhaolong
Powered by blists - more mailing lists