[PATCH] Oops on umount/mount (JFFS 1)
Orjan Friberg
orjan.friberg at axis.com
Wed Mar 12 09:17:26 EST 2003
Orjan Friberg wrote:
>
> The patch below takes care of a umount/mount-related oops I had. It happens when a JFFS 1 file
> system is mounted for the second time if CONFIG_JFFS_PROC_FS is on, due to jffs_proc_root being
> freed on a umount, but only being allocated once (at init). The patch below allocates
> jffs_proc_root each time the proc entry is registered. (In my case, besides corrupting a node, the
> bug also manifested itself by /proc/fs/jffs not showing up after the second mount.)
Is this ok to commit?
--
Orjan Friberg
Axis Communications AB
More information about the linux-mtd
mailing list