1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00

dmsetup remove_all also performs mknodes.

This commit is contained in:
Alasdair Kergon 2006-06-17 16:12:41 +00:00
parent b4fb7af1df
commit 3426f31184
2 changed files with 2 additions and 1 deletions

View File

@ -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.

View File

@ -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)))