patch-1.3.52 linux/mm/swap.c
Next file: linux/net/ipv4/tcp.c
Previous file: linux/kernel/module.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Thu Dec 28 08:03:40 1995
- Orig file:
v1.3.51/linux/mm/swap.c
- Orig date:
Wed Dec 27 09:12:14 1995
diff -u --recursive --new-file v1.3.51/linux/mm/swap.c linux/mm/swap.c
@@ -709,8 +709,8 @@
static inline void remove_mem_queue(struct mem_list * head, struct mem_list * entry)
{
- entry->next->prev = entry->prev;
- entry->prev->next = entry->next;
+ struct mem_list * next = entry->next;
+ (next->prev = entry->prev)->next = next;
}
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this