~ubuntu-branches/ubuntu/lucid/linux-rt/lucid

« back to all changes in this revision

Viewing changes to drivers/md/dm.c

  • Committer: Bazaar Package Importer
  • Author(s): Luke Yelavich
  • Date: 2009-07-11 13:31:31 UTC
  • mfrom: (14.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090711133131-omdhleccno39rayr
Tags: 2.6.29.6-1.1
New upstream kernel and RT patchset release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1728
1728
        if (&md->kobj != kobj)
1729
1729
                return NULL;
1730
1730
 
 
1731
        if (test_bit(DMF_FREEING, &md->flags) ||
 
1732
            test_bit(DMF_DELETING, &md->flags))
 
1733
                return NULL;
 
1734
 
1731
1735
        dm_get(md);
1732
1736
        return md;
1733
1737
}