aboutsummaryrefslogtreecommitdiffstats
path: root/mm/truncate.c
diff options
context:
space:
mode:
authorGuy Streeter <guy.streeter@gmail.com>2007-01-23 12:20:04 -0600
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-01-23 11:18:50 -0800
commitf66d45e99eb7ca91822c3e3f6d7a98843c9626cb (patch)
treece796ff749980d7c3d08c0d42f63d25d42416e49 /mm/truncate.c
parentMerge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband (diff)
downloadlinux-dev-f66d45e99eb7ca91822c3e3f6d7a98843c9626cb.tar.xz
linux-dev-f66d45e99eb7ca91822c3e3f6d7a98843c9626cb.zip
[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> --
Diffstat (limited to 'mm/truncate.c')
0 files changed, 0 insertions, 0 deletions