https://bugzilla.novell.com/show_bug.cgi?id=807850
https://bugzilla.novell.com/show_bug.cgi?id=807850#c10
--- Comment #10 from Michal Hocko 2013-03-26 13:16:49 CET ---
I do not see anything that would set i_mapping explicitly to NULL.
inode->i_mapping is initialized by inode_init_always to point at
&inode->i_data.
Apart from that it is only updated by:
fs/block_dev.c: inode->i_mapping = &inode->i_data;
fs/block_dev.c: inode->i_mapping = bdev->bd_inode->i_mapping;
fs/coda/cnode.c: inode->i_mapping = &inode->i_data;
fs/coda/file.c: if (coda_inode->i_mapping == &coda_inode->i_data)
fs/coda/file.c: coda_inode->i_mapping = host_inode->i_mapping;
fs/coda/file.c: if (coda_inode->i_mapping == &host_inode->i_data) {
fs/coda/file.c: coda_inode->i_mapping = &coda_inode->i_data;
fs/inode.c: inode->i_mapping = mapping;
drivers/char/raw.c: filp->f_path.dentry->d_inode->i_mapping =
drivers/char/raw.c: /* Here inode->i_mapping ==
bdev->bd_inode->i_mapping */
drivers/char/raw.c: inode->i_mapping = &inode->i_data;
drivers/gpu/drm/drm_fops.c: inode->i_mapping = dev->dev_mapping;
drivers/gpu/drm/drm_fops.c: inode->i_mapping = old_mapping;
I will attach another debugging patch which hopefully tells us more. I have
hooked into all places (except for coda fs which is not loaded according to the
listed modules).
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.