diff options
author | John Dyson <dyson@FreeBSD.org> | 1995-10-23 04:28:59 +0000 |
---|---|---|
committer | John Dyson <dyson@FreeBSD.org> | 1995-10-23 04:28:59 +0000 |
commit | ff02cd98f2121869a43c5eeb042a6f4c92622edc (patch) | |
tree | 5b15dc7086f8a5bb3459185ce26a0af9afc9dfc8 /sys/fs | |
parent | 793423788556c6599ac85a49b52e33293e85d280 (diff) | |
download | src-ff02cd98f2121869a43c5eeb042a6f4c92622edc.tar.gz src-ff02cd98f2121869a43c5eeb042a6f4c92622edc.zip |
Removal of unnecessary usage of PG_COPYONWRITE.
Notes
Notes:
svn path=/head/; revision=11707
Diffstat (limited to 'sys/fs')
-rw-r--r-- | sys/fs/procfs/procfs_mem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/procfs/procfs_mem.c b/sys/fs/procfs/procfs_mem.c index ab01999fcad7..ee331ae73e3f 100644 --- a/sys/fs/procfs/procfs_mem.c +++ b/sys/fs/procfs/procfs_mem.c @@ -37,7 +37,7 @@ * * @(#)procfs_mem.c 8.4 (Berkeley) 1/21/94 * - * $Id: procfs_mem.c,v 1.8 1995/06/28 04:51:06 davidg Exp $ + * $Id: procfs_mem.c,v 1.9 1995/07/13 08:47:48 davidg Exp $ */ /* @@ -154,7 +154,7 @@ procfs_rwmem(p, uio) */ if (!error && writing && object->backing_object) { m = vm_page_lookup(object, off); - if (m == 0 || (m->flags & PG_COPYONWRITE)) + if (m == 0) error = vm_fault(map, pageno, VM_PROT_WRITE, FALSE); } |