~ubuntu-branches/ubuntu/trusty/linux-linaro-omap/trusty

« back to all changes in this revision

Viewing changes to fs/nilfs2/recovery.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-57i0gl3v99b3lkfg
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:
387
387
static void dispose_recovery_list(struct list_head *head)
388
388
{
389
389
        while (!list_empty(head)) {
390
 
                struct nilfs_recovery_block *rb
391
 
                        = list_entry(head->next,
392
 
                                     struct nilfs_recovery_block, list);
 
390
                struct nilfs_recovery_block *rb;
 
391
 
 
392
                rb = list_first_entry(head, struct nilfs_recovery_block, list);
393
393
                list_del(&rb->list);
394
394
                kfree(rb);
395
395
        }
416
416
void nilfs_dispose_segment_list(struct list_head *head)
417
417
{
418
418
        while (!list_empty(head)) {
419
 
                struct nilfs_segment_entry *ent
420
 
                        = list_entry(head->next,
421
 
                                     struct nilfs_segment_entry, list);
 
419
                struct nilfs_segment_entry *ent;
 
420
 
 
421
                ent = list_first_entry(head, struct nilfs_segment_entry, list);
422
422
                list_del(&ent->list);
423
423
                kfree(ent);
424
424
        }