diff options
author | dyson <dyson@FreeBSD.org> | 1995-10-23 04:28:59 +0000 |
---|---|---|
committer | dyson <dyson@FreeBSD.org> | 1995-10-23 04:28:59 +0000 |
commit | 0dbcd1947b310857362a3b60b685f783b9d7a494 (patch) | |
tree | 5b15dc7086f8a5bb3459185ce26a0af9afc9dfc8 /sys/fs/procfs | |
parent | 1074db22b1070b33d5ea5435cfff8cd588f57ea6 (diff) | |
download | FreeBSD-src-0dbcd1947b310857362a3b60b685f783b9d7a494.zip FreeBSD-src-0dbcd1947b310857362a3b60b685f783b9d7a494.tar.gz |
Removal of unnecessary usage of PG_COPYONWRITE.
Diffstat (limited to 'sys/fs/procfs')
-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 ab01999..ee331ae 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); } |