patch-2.3.7 linux/fs/proc/mem.c
Next file: linux/fs/proc/net.c
Previous file: linux/fs/proc/link.c
Back to the patch index
Back to the overall index
- Lines: 24
- Date:
Sat Jun 19 11:45:28 1999
- Orig file:
v2.3.6/linux/fs/proc/mem.c
- Orig date:
Wed Sep 23 15:24:37 1998
diff -u --recursive --new-file v2.3.6/linux/fs/proc/mem.c linux/fs/proc/mem.c
@@ -298,7 +298,7 @@
set_pte(dest_table, *src_table);
mapnr = MAP_NR(pte_page(*src_table));
if (mapnr < max_mapnr)
- atomic_inc(&mem_map[MAP_NR(pte_page(*src_table))].count);
+ get_page(mem_map + MAP_NR(pte_page(*src_table)));
stmp += PAGE_SIZE;
dtmp += PAGE_SIZE;
@@ -336,9 +336,12 @@
NULL, /* rename */
NULL, /* readlink */
NULL, /* follow_link */
+ NULL, /* bmap */
NULL, /* readpage */
NULL, /* writepage */
- NULL, /* bmap */
+ NULL, /* flushpage */
NULL, /* truncate */
- proc_permission /* permission */
+ proc_permission, /* permission */
+ NULL, /* smap */
+ NULL /* revalidate */
};
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)