From 130279a5bb45634a864b0e06b5227c10255b9eb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Mon, 26 Apr 2004 22:44:22 +0000 Subject: [PATCH] Added a ToDo item in BVolume::SetName(). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7322 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/storage/Volume.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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; }