]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] correct sys_shmget allocation check
authorGuy Streeter <guy.streeter@gmail.com>
Tue, 23 Jan 2007 18:20:04 +0000 (12:20 -0600)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 23 Jan 2007 19:18:50 +0000 (11:18 -0800)
commitf66d45e99eb7ca91822c3e3f6d7a98843c9626cb
treece796ff749980d7c3d08c0d42f63d25d42416e49
parent821836e5baa69b8bc80605f25ad963e721609bc0
[PATCH] correct sys_shmget allocation check

As written, sys_shmget will return ENOSPC when one page is still
available for allocation. This patch corrects the test.

Signed-off-by: Guy Streeter <guy.streeter+lkml@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
--
ipc/shm.c