No need to check the parameters for DM_LIST_VERSIONS_CMD --- diff/drivers/md/dm-ioctl.c 2004-02-18 09:07:29.000000000 +0000 +++ source/drivers/md/dm-ioctl.c 2004-02-18 09:08:37.000000000 +0000 @@ -1203,7 +1203,9 @@ param->flags &= ~DM_BUFFER_FULL_FLAG; /* Ignores parameters */ - if (cmd == DM_REMOVE_ALL_CMD || cmd == DM_LIST_DEVICES_CMD) + if (cmd == DM_REMOVE_ALL_CMD || + cmd == DM_LIST_DEVICES_CMD || + cmd == DM_LIST_VERSIONS_CMD) return 0; /* Unless creating, either name or uuid but not both */