[lvm-devel] [PATCH] Add check for semaphore kernel support
Alasdair G Kergon
agk at redhat.com
Mon Aug 2 19:42:17 UTC 2010
On Mon, Aug 02, 2010 at 09:24:57PM +0200, Peter Rajnoha wrote:
> We also need to check for kernel semaphore support (part of System V IPC,
Ack.
> +static int _check_semaphore_is_supported()
> + arg.array = (unsigned short int *) (void *) &seminfo;
Double cast?
The way I read the man page that could be arg.__buf = &seminfo.
Alasdair
More information about the lvm-devel
mailing list