Ticket #4210: haiku_delete_unmounted_userlandfs_volumes.diff

File haiku_delete_unmounted_userlandfs_volumes.diff, 570 bytes (added by Blub, 15 years ago)
  • src/add-ons/kernel/file_systems/userlandfs/server/UserlandRequestHandler.cpp

     
    291291    if (result == B_OK) {
    292292        RequestThreadContext context(volume, request);
    293293        result = volume->Unmount();
     294        if(result == B_OK)
     295            result = fFileSystem->DeleteVolume(volume);
    294296    }
    295297
    296298    // prepare the reply