~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to fs/logfs/super.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
480
480
                        !read_only)
481
481
                return -EIO;
482
482
 
483
 
        mutex_init(&super->s_dirop_mutex);
484
 
        mutex_init(&super->s_object_alias_mutex);
485
 
        INIT_LIST_HEAD(&super->s_freeing_list);
486
 
 
487
483
        ret = logfs_init_rw(sb);
488
484
        if (ret)
489
485
                return ret;
601
597
        if (!super)
602
598
                return ERR_PTR(-ENOMEM);
603
599
 
 
600
        mutex_init(&super->s_dirop_mutex);
 
601
        mutex_init(&super->s_object_alias_mutex);
 
602
        INIT_LIST_HEAD(&super->s_freeing_list);
 
603
 
604
604
        if (!devname)
605
605
                err = logfs_get_sb_bdev(super, type, devname);
606
606
        else if (strncmp(devname, "mtd", 3))