summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-06-09 19:35:59 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-06-09 19:35:59 +0000
commit24722422c61931bafcf5d725331833a6e555be6c (patch)
tree3036577c326b4d987a17529fc10919f72716158c /libdiskfs
parentd05e48e181acf16afa9cae5b8fb12f609bf0a358 (diff)
(diskfs_S_file_getcontrol): Use new args for ports_allocate_port.
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/file-getcontrol.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libdiskfs/file-getcontrol.c b/libdiskfs/file-getcontrol.c
index 032c498f..d4580e6c 100644
--- a/libdiskfs/file-getcontrol.c
+++ b/libdiskfs/file-getcontrol.c
@@ -1,5 +1,5 @@
/* libdiskfs implementation of fs.defs:file_getcontrol.c
- Copyright (C) 1992, 1993, 1994 Free Software Foundation
+ Copyright (C) 1992, 1993, 1994, 1995 Free Software Foundation
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
@@ -37,7 +37,9 @@ diskfs_S_file_getcontrol (struct protid *cred,
_diskfs_ncontrol_ports++;
spin_unlock (&_diskfs_control_lock);
*control = ports_get_right (ports_allocate_port
- (sizeof (struct port_info), PT_CTL));
+ (diskfs_port_bucket,
+ sizeof (struct port_info),
+ diskfs_control_class));
*controltype = MACH_MSG_TYPE_MAKE_SEND;
}