1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 11:55:55 +03:00
lvm2/libdm
Zdenek Kabelac 350cf7968c libdm: new name can't be empty
Do not allow passing '' names to kernel.

This test was missing also in kernel, so it has allowed
to create device with '' name.  This then confused dmsetup tool,
since such name is unexpected and unsupported. To remove
such name from table, user has to use -j -m to specify which device
should be removed.

This patch fixes the posibility to run this operation:

dmsetup rename existingdev ''

after this operation commands like  'dmsetup table' are failing.
This patch prohibits to use such name.
2013-08-31 21:40:28 +02:00
..
datastruct Use void pointer instead of char for binary key 2011-03-10 12:48:40 +00:00
ioctl dmsetup: display any message output from kernel 2013-08-16 15:25:39 +01:00
misc ioctl: add DM_DATA_OUT_FLAG to dm-ioctl.h 2013-05-17 17:06:40 +01:00
mm debug: add pointer to -DDEBUG_POOL compilation 2013-06-25 13:47:39 +02:00
regex cleanup: stack usage 2013-07-01 23:11:14 +02:00
.exported_symbols Generate liblvm2app and libdevmapper exported symbols from header files. 2010-06-25 18:17:38 +00:00
libdevmapper.h dmsetup: display any message output from kernel 2013-08-16 15:25:39 +01:00
libdevmapper.pc.in Switch to use Requires.private for devmapper.pc and lvm2app.pc 2010-05-11 08:54:11 +00:00
libdm-common.c libdm: new name can't be empty 2013-08-31 21:40:28 +02:00
libdm-common.h libdm: introduce and use DEV_UUID macro 2012-10-10 17:16:15 +02:00
libdm-config.c cleanup: use simplier structure initialization 2013-06-16 00:07:33 +02:00
libdm-deptree.c deptree: don't remove live node on resume failure 2013-07-23 13:33:35 +01:00
libdm-file.c Drop unreachable code 2012-02-08 12:59:45 +00:00
libdm-report.c cleanup: switch log_error to log_warn 2012-10-17 15:41:35 +02:00
libdm-string.c libdm: improve check in dm_split_lvm_name 2013-04-21 23:10:43 +02:00
Makefile.in configure: Use pkg-config to look for valgrind/memcheck.h. 2012-10-09 20:54:41 +02:00