summaryrefslogtreecommitdiffstats
path: root/tools/pvremove.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/pvremove.c')
-rw-r--r--tools/pvremove.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/pvremove.c b/tools/pvremove.c
index 5029fa33..e28eec48 100644
--- a/tools/pvremove.c
+++ b/tools/pvremove.c
@@ -93,6 +93,7 @@ static int pvremove_single(struct cmd_context *cmd, const char *pv_name,
}
if (!dev_test_excl(dev)) {
+ /* FIXME Detect whether device-mapper is still using the device */
log_error("Can't open %s exclusively - not removing. "
"Mounted filesystem?", dev_name(dev));
goto error;