From 94e33a6ca34e1dced011988c7a5f2d6201a5377b Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Thu, 22 Nov 2007 01:25:06 +0000 Subject: FIXMEs for case where dm itself has device open --- tools/pvremove.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/pvremove.c') 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; -- cgit