aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-generic/msgbuf.h
diff options
context:
space:
mode:
authorKirill A. Shutemov <kirill@shutemov.name>2010-05-17 09:55:47 -0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-05-18 07:19:36 -0400
commitcd874237d97f24f601f16a140d20803b6a79202e (patch)
tree1d21ee13d45e7839a41c777e466f019cba2603d6 /include/asm-generic/msgbuf.h
parent11c93605faecfe6f9a28a6f3d14989bad077055a (diff)
mtd: mtdchar: Do not corrupt backing device of device node inode
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. [dwmw2: Refactor to keep it all entirely within mtdchar.c; use iget_locked()] Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name> Acked-by: Jan Kara <jack@suse.cz> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'include/asm-generic/msgbuf.h')
0 files changed, 0 insertions, 0 deletions