Added a ToDo item in BVolume::SetName().

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7322 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2004-04-26 22:44:22 +00:00
parent ef44862bfd
commit 130279a5bb

View File

@ -275,6 +275,10 @@ BVolume::SetName(const char *name)
status_t error = (InitCheck() == B_OK ? B_OK : B_BAD_VALUE);
if (error == B_OK)
error = BPrivate::Storage::set_volume_name(fDevice, name);
// ToDo: change the name of the mount point, too
// (or the link to the boot volume, if that name has been changed)
return error;
}