diff --git a/src/kits/storage/Volume.cpp b/src/kits/storage/Volume.cpp index 10b0d3510f..d128177e4f 100644 --- a/src/kits/storage/Volume.cpp +++ b/src/kits/storage/Volume.cpp @@ -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; }