Fixed another bug: after a partition had been mounted, it was only marked
mounted, but no one told it about its volume ID - that caused "mountvolume" not to be able to return a valid mount point. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12548 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
47729f044c
commit
0953c83ebd
@ -4701,7 +4701,7 @@ fs_mount(char *path, const char *device, const char *fsName, uint32 flags,
|
||||
// supply the partition (if any) with the mount cookie and mark it mounted
|
||||
if (partition) {
|
||||
partition->SetMountCookie(mount->cookie);
|
||||
partition->AddFlags(B_PARTITION_MOUNTED);
|
||||
partition->SetVolumeID(mount->id);
|
||||
|
||||
// keep a partition reference as long as the partition is mounted
|
||||
partitionRegistrar.Detach();
|
||||
|
Loading…
Reference in New Issue
Block a user