1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-02-03 17:47:44 +03:00

Drop uname call, it's not used from gulm era.

This commit is contained in:
Zdenek Kabelac 2012-02-27 09:58:18 +00:00
parent fe84afbbab
commit dc92528f10
2 changed files with 1 additions and 2 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.94 -
====================================
Drop unused call to uname() during clvmd initia.lization.
Test allocation result in sysfs filter creation.
Limit sscanf parameters with buffer size in clvmd get_initial_state().
Use const lv pointer for lv_is_active...() functions.

View File

@ -335,7 +335,6 @@ int main(int argc, char *argv[])
{
int local_sock;
struct local_client *newfd, *delfd;
struct utsname nodeinfo;
struct lvm_startup_params lvm_params;
int opt;
int cmd_timeout = DEFAULT_CMD_TIMEOUT;
@ -559,7 +558,6 @@ int main(int argc, char *argv[])
DEBUGLOG("Cluster ready, doing some more initialisation\n");
/* Save our CSID */
uname(&nodeinfo);
clops->get_our_csid(our_csid);
/* Initialise the FD list head */