1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Use flexible data[] in cmirrord request to prevent abort in runtime size checks.

This commit is contained in:
Milan Broz 2010-06-22 13:11:29 +00:00
parent 21a5699f12
commit eac8de9bfb
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.68 - Version 2.02.68 -
=============================== ===============================
Use flexible data[] in cmirrord request to prevent abort in runtime size checks.
Honor log argument when down-converting stacked mirror. Honor log argument when down-converting stacked mirror.
Sleep to workaround clvmd -S race: socket closed early and server drops cmd. Sleep to workaround clvmd -S race: socket closed early and server drops cmd.
Use early udev synchronisation and update of dev nodes for clustered mirrors. Use early udev synchronisation and update of dev nodes for clustered mirrors.

View File

@ -391,7 +391,7 @@ struct dm_ulog_request {
uint32_t request_type; /* DM_ULOG_* defined above */ uint32_t request_type; /* DM_ULOG_* defined above */
uint32_t data_size; /* How much data (not including this struct) */ uint32_t data_size; /* How much data (not including this struct) */
char data[0]; char data[];
}; };
#endif /* __DM_LOG_USERSPACE_H__ */ #endif /* __DM_LOG_USERSPACE_H__ */