kernel: KPartitioningSystem::SetType() should use the child ID
KPartitioningSystem::SetName() and KPartitioningSystem::SetType() are very similar. SetName() already worked for GPT, and with this change SetType() now works for GPT too. Change-Id: If1456a8f5e94ae2e2a05b75e3691f912bd1324ee Reviewed-on: https://review.haiku-os.org/c/haiku/+/5656 Reviewed-by: waddlesplash <[email protected]> Tested-by: Commit checker robot <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
d469ab6d6c
commit
6b7504173c
@@ -325,7 +325,7 @@ KPartitioningSystem::SetType(KPartition* child, const char* type,
|
||||
return result;
|
||||
|
||||
// let the module do its job
|
||||
result = fModule->set_type(fd, child->Parent()->ID(), type, job);
|
||||
result = fModule->set_type(fd, child->ID(), type, job);
|
||||
// TODO: Change hook interface!
|
||||
|
||||
// cleanup and return
|
||||
|
||||
Reference in New Issue
Block a user