~ubuntu-branches/ubuntu/quantal/linux-linaro-mx51/quantal

« back to all changes in this revision

Viewing changes to fs/nilfs2/mdt.c

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-3o58a3c1bj7x00rs
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
        kunmap_atomic(kaddr, KM_USER0);
67
67
 
68
68
        set_buffer_uptodate(bh);
69
 
        nilfs_mark_buffer_dirty(bh);
 
69
        mark_buffer_dirty(bh);
70
70
        nilfs_mdt_mark_dirty(inode);
71
71
        return 0;
72
72
}
355
355
        err = nilfs_mdt_read_block(inode, block, 0, &bh);
356
356
        if (unlikely(err))
357
357
                return err;
358
 
        nilfs_mark_buffer_dirty(bh);
 
358
        mark_buffer_dirty(bh);
359
359
        nilfs_mdt_mark_dirty(inode);
360
360
        brelse(bh);
361
361
        return 0;
450
450
 
451
451
        INIT_LIST_HEAD(&shadow->frozen_buffers);
452
452
        address_space_init_once(&shadow->frozen_data);
453
 
        nilfs_mapping_init(&shadow->frozen_data, bdi);
 
453
        nilfs_mapping_init(&shadow->frozen_data, inode, bdi);
454
454
        address_space_init_once(&shadow->frozen_btnodes);
455
 
        nilfs_mapping_init(&shadow->frozen_btnodes, bdi);
 
455
        nilfs_mapping_init(&shadow->frozen_btnodes, inode, bdi);
456
456
        mi->mi_shadow = shadow;
457
457
        return 0;
458
458
}