Ticket #3473: session.patch

File session.patch, 667 bytes (added by Ziusudra, 14 years ago)
  • src/add-ons/kernel/partitioning_systems/session/session.cpp

     
    5252        Disc *disc = new Disc(fd);
    5353        if (disc && disc->InitCheck() == B_OK) {
    5454            *cookie = static_cast<void*>(disc);
    55             result = 0.7;
     55            // If we have more than one session then we override the filesystem
     56            // drivers. GetSession is 0 indexed.
     57            if (disc->GetSession(1))
     58                result = 0.81;
     59            else
     60                result = 0.5;
    5661        } else
    5762            delete disc;
    5863    }