commit | 72a8ff2f9245128c254387c58f948f1f0152ea46 | [log] [tgz] |
---|---|---|
author | Rafael Aquini <[email protected]> | Mon Jan 27 17:07:02 2014 -0800 |
committer | Linus Torvalds <[email protected]> | Mon Jan 27 21:02:39 2014 -0800 |
tree | 176eec6a1d264e9e679d7bd73eb3f5b77975e4a3 | |
parent | 0f3d2b0135f4bdbfe47a99753923a64efd373d11 [diff] [blame] |
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 <[email protected]> Reviewed-by: Rik van Riel <[email protected]> Cc: Greg Thelen <[email protected]> Acked-by: Davidlohr Bueso <[email protected]> Cc: Manfred Spraul <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
diff --git a/include/linux/ipc.h b/include/linux/ipc.h index 8d861b2..9d84942 100644 --- a/include/linux/ipc.h +++ b/include/linux/ipc.h
@@ -11,7 +11,7 @@ struct kern_ipc_perm { spinlock_t lock; - int deleted; + bool deleted; int id; key_t key; kuid_t uid;