* _user_uninitialize_partition() never marked the partition unbusy
again. This fixes bug #1928. * Added license header. * Minor cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24421 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
6011cc673f
commit
0cbc783bc0
@ -1,6 +1,14 @@
|
||||
/** \file ddm_userland_interface.cpp
|
||||
/*
|
||||
* Copyright 2003-2008, Haiku, Inc. All Rights Reserved.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*
|
||||
* \brief Interface for userspace calls.
|
||||
* Authors:
|
||||
* Ingo Weinhold, bonefish@cs.tu-berlin.de
|
||||
*/
|
||||
|
||||
/*! \file ddm_userland_interface.cpp
|
||||
|
||||
\brief Interface for userspace calls.
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
@ -1232,6 +1240,9 @@ _user_uninitialize_partition(partition_id partitionID, int32* _changeCounter)
|
||||
|
||||
// uninitialize
|
||||
error = partition->UninitializeContents(true);
|
||||
|
||||
partition->UnmarkBusy(true);
|
||||
|
||||
if (error != B_OK)
|
||||
return error;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user