[PATCH v2] mtd: Do not corrupt backing device of device node inode
Artem Bityutskiy
dedekind1 at gmail.com
Tue May 4 10:19:17 EDT 2010
On Tue, 2010-05-04 at 13:19 +0200, Jan Kara wrote:
> On Tue 04-05-10 00:32:48, Kirill A. Shutemov wrote:
> > We cannot modify file->f_mapping->backing_dev_info, because it will corrupt
> > backing device of device node inode, since file->f_mapping is equal to
> > inode->i_mapping (see __dentry_open() in fs/open.c).
> >
> > Let's introduce separate inode for MTD device with appropriate backing
> > device.
> >
> > Signed-off-by: Kirill A. Shutemov <kirill at shutemov.name>
> The patch now looks correct to me. Acked-by: Jan Kara <jack at suse.cz>
>
Is this -stable material?
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
More information about the linux-mtd
mailing list