Re: [PATCH] Oops on umount/mount (JFFS 1)

Orjan Friberg <[email protected]>
Newsgroups gmane.linux.drivers.mtd,gmane.linux.file-systems.jffs
Organization Axis Communications AB
Message-ID <[email protected]>
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

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.