diff options
Diffstat (limited to 'fs/romfs/super.c')
| -rw-r--r-- | fs/romfs/super.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/romfs/super.c b/fs/romfs/super.c index e98dd88197d5..268733cda397 100644 --- a/fs/romfs/super.c +++ b/fs/romfs/super.c | |||
| @@ -355,9 +355,6 @@ static struct inode *romfs_iget(struct super_block *sb, unsigned long pos) | |||
| 355 | case ROMFH_REG: | 355 | case ROMFH_REG: |
| 356 | i->i_fop = &romfs_ro_fops; | 356 | i->i_fop = &romfs_ro_fops; |
| 357 | i->i_data.a_ops = &romfs_aops; | 357 | i->i_data.a_ops = &romfs_aops; |
| 358 | if (i->i_sb->s_mtd) | ||
| 359 | i->i_data.backing_dev_info = | ||
| 360 | i->i_sb->s_mtd->backing_dev_info; | ||
| 361 | if (nextfh & ROMFH_EXEC) | 358 | if (nextfh & ROMFH_EXEC) |
| 362 | mode |= S_IXUGO; | 359 | mode |= S_IXUGO; |
| 363 | break; | 360 | break; |
