summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-03-07 20:40:35 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-03-07 20:40:35 +0000
commit658565fa9ffaa96b95192a3af1bd071830a3263a (patch)
tree4d0b50e1909f300840f0970e698da838169be3bd /libdiskfs
parentc5c69886f209e4c20e210ae664c574a8f8606907 (diff)
Formerly io-map.c.~6~
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/io-map.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libdiskfs/io-map.c b/libdiskfs/io-map.c
index 00d6bdcd..c7b00764 100644
--- a/libdiskfs/io-map.c
+++ b/libdiskfs/io-map.c
@@ -31,8 +31,9 @@ diskfs_S_io_map (struct protid *cred,
mutex_lock (&cred->po->np->lock);
*rdobj = diskfs_get_filemap (cred->po->np);
+ *wrobj = diskfs_get_filemap (cred->po->np);
mutex_unlock (&cred->po->np->lock);
- *rdtype = *wrtype = MACH_MSG_TYPE_MOVE_SEND;
- *wrobj = *rdobj;
+ *rdtype = MACH_MSG_TYPE_MOVE_SEND;
+ *wrtype = MACH_MSG_TYPE_MOVE_SEND;
return 0;
}