[lkml]   [2010]   [May]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v4] mtd: Do not corrupt backing device of device node inode
On Wed, 2010-05-05 at 18:40 +0300, 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 <>
> ---
> Changelog:
> v3 -> v4:
> - Use igrab() instead of __iget inside the inode_lock;
> - Add stable@ to CC list.
> v2 -> v3:
> - Rebase to mtd-2.6.git.
> v1 -> v2:
> - Fix error handling based on comments by Jan Kara.

Pushed to l2-mtd-2.6.git / dunno

Also added Jan's ack which disappeared in v4

Best Regards,
Artem Bityutskiy (Артём Битюцкий)

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2010-05-06 09:03    [W:0.061 / U:3.072 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site