[PATCH] Ipc: shm: fixed a brace coding style issue

From: Zac Storer
Date: Fri Nov 18 2011 - 08:11:11 EST


Fixed a brace coding style issue.

Signed-off-by: Zac Storer <zac.3.14159@xxxxxxxxx>
---
ipc/shm.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ipc/shm.c b/ipc/shm.c
index 02ecf2c..dfcf20d 100644
--- a/ipc/shm.c
+++ b/ipc/shm.c
@@ -88,7 +88,7 @@ static void do_shm_rmid(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp)
struct shmid_kernel *shp;
shp = container_of(ipcp, struct shmid_kernel, shm_perm);

- if (shp->shm_nattch){
+ if (shp->shm_nattch) {
shp->shm_perm.mode |= SHM_DEST;
/* Do not find it any more */
shp->shm_perm.key = IPC_PRIVATE;
--
1.7.7.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/