From 3426f31184d1b005319a8431effef1b16d32931f Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Sat, 17 Jun 2006 16:12:41 +0000 Subject: [PATCH] dmsetup remove_all also performs mknodes. --- WHATS_NEW_DM | 1 + tools/dmsetup.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/WHATS_NEW_DM b/WHATS_NEW_DM index 98d83aeeb..158b0c80d 100644 --- a/WHATS_NEW_DM +++ b/WHATS_NEW_DM @@ -1,5 +1,6 @@ Version 1.02.08 - ============================= + dmsetup remove_all also performs mknodes. Don't suppress identical table reloads if permission changes. Fix corelog segment line. Suppress some compiler warnings. diff --git a/tools/dmsetup.c b/tools/dmsetup.c index a7918330a..3a42a250f 100644 --- a/tools/dmsetup.c +++ b/tools/dmsetup.c @@ -604,7 +604,7 @@ static int _simple(int task, const char *name, uint32_t event_nr, int display) static int _remove_all(int argc __attribute((unused)), char **argv __attribute((unused)), void *data __attribute((unused))) { - return _simple(DM_DEVICE_REMOVE_ALL, "", 0, 0); + return _simple(DM_DEVICE_REMOVE_ALL, "", 0, 0) | dm_mknodes(NULL); } static int _remove(int argc, char **argv, void *data __attribute((unused)))