patch-2.2.7 linux/ipc/shm.c
Next file: linux/mm/page_alloc.c
Previous file: linux/init/main.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Thu Apr 22 23:31:06 1999
- Orig file:
v2.2.6/linux/ipc/shm.c
- Orig date:
Fri Apr 16 14:47:31 1999
diff -u --recursive --new-file v2.2.6/linux/ipc/shm.c linux/ipc/shm.c
@@ -691,10 +691,10 @@
next_id:
swap_idx = 0;
if (++swap_id > max_shmid) {
+ swap_id = 0;
if (loop)
goto failed;
loop = 1;
- swap_id = 0;
}
goto check_id;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)