From 24722422c61931bafcf5d725331833a6e555be6c Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Fri, 9 Jun 1995 19:35:59 +0000 Subject: (diskfs_S_file_getcontrol): Use new args for ports_allocate_port. --- libdiskfs/file-getcontrol.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libdiskfs') 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; } -- cgit v1.2.3