ipc: change kern_ipc_perm.deleted type to bool
authorRafael Aquini <aquini@redhat.com>
Tue, 28 Jan 2014 01:07:02 +0000 (17:07 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 28 Jan 2014 05:02:39 +0000 (21:02 -0800)
commit72a8ff2f9245128c254387c58f948f1f0152ea46
tree176eec6a1d264e9e679d7bd73eb3f5b77975e4a3
parent0f3d2b0135f4bdbfe47a99753923a64efd373d11
ipc: change kern_ipc_perm.deleted type to bool

struct kern_ipc_perm.deleted is meant to be used as a boolean toggle, and
the changes introduced by this patch are just to make the case explicit.

Signed-off-by: Rafael Aquini <aquini@redhat.com>
Reviewed-by: Rik van Riel <riel@redhat.com>
Cc: Greg Thelen <gthelen@google.com>
Acked-by: Davidlohr Bueso <davidlohr@hp.com>
Cc: Manfred Spraul <manfred@colorfullife.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/ipc.h
ipc/sem.c
ipc/util.c
ipc/util.h