mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-11 20:58:50 +03:00
another fixme
This commit is contained in:
parent
4d8c4ea7e6
commit
b634751cc4
@ -818,6 +818,7 @@ int dm_udev_get_sync_support(void)
|
|||||||
|
|
||||||
static int _get_cookie_sem(uint32_t cookie, int *semid)
|
static int _get_cookie_sem(uint32_t cookie, int *semid)
|
||||||
{
|
{
|
||||||
|
/* FIXME Ensure cookie has COOKIE_MAGIC prefix */
|
||||||
if ((*semid = semget((key_t) cookie, 1, 0)) >= 0)
|
if ((*semid = semget((key_t) cookie, 1, 0)) >= 0)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user