mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 12:10:52 -04:00
fs: remove mapping->backing_dev_info
Now that we never use the backing_dev_info pointer in struct address_space we can simply remove it and save 4 to 8 bytes in every inode. Signed-off-by: Christoph Hellwig <[email protected]> Acked-by: Ryusuke Konishi <[email protected]> Reviewed-by: Tejun Heo <[email protected]> Reviewed-by: Jan Kara <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
parent
de1414a654
commit
b83ae6d421
32 changed files with 8 additions and 91 deletions
|
|
@ -355,9 +355,6 @@ static struct inode *romfs_iget(struct super_block *sb, unsigned long pos)
|
|||
case ROMFH_REG:
|
||||
i->i_fop = &romfs_ro_fops;
|
||||
i->i_data.a_ops = &romfs_aops;
|
||||
if (i->i_sb->s_mtd)
|
||||
i->i_data.backing_dev_info =
|
||||
i->i_sb->s_mtd->backing_dev_info;
|
||||
if (nextfh & ROMFH_EXEC)
|
||||
mode |= S_IXUGO;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue