From 982261fec4707d0c8d0723d90d9c0e465d98aa93 Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Wed, 12 Feb 2014 11:24:14 +0100 Subject: libnetfs: fix receiver lookups in fsys server functions * mutations.h: Add translation functions. * netfs.h (struct netfs_control): New declaration. * priv.h: Define translation functions. * fsys-get-options.c: Fix receiver lookups. * fsys-getroot.c: Likewise. * fsys-goaway.c: Likewise. * fsys-set-options.c: Likewise. * fsys-syncfs.c: Likewise. * fsysstubs.c: Likewise. --- libnetfs/fsys-getroot.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'libnetfs/fsys-getroot.c') diff --git a/libnetfs/fsys-getroot.c b/libnetfs/fsys-getroot.c index 0d801114..2d02120e 100644 --- a/libnetfs/fsys-getroot.c +++ b/libnetfs/fsys-getroot.c @@ -25,7 +25,7 @@ #include error_t -netfs_S_fsys_getroot (mach_port_t cntl, +netfs_S_fsys_getroot (struct netfs_control *pt, mach_port_t reply, mach_msg_type_name_t reply_type, mach_port_t dotdot, @@ -37,8 +37,6 @@ netfs_S_fsys_getroot (mach_port_t cntl, mach_port_t *retry_port, mach_msg_type_name_t *retry_port_type) { - struct port_info *pt = ports_lookup_port (netfs_port_bucket, cntl, - netfs_control_class); struct iouser *cred; error_t err; struct protid *newpi; @@ -51,7 +49,6 @@ netfs_S_fsys_getroot (mach_port_t cntl, if (!pt) return EOPNOTSUPP; - ports_port_deref (pt); err = iohelp_create_complex_iouser (&cred, uids, nuids, gids, ngids); if (err) -- cgit v1.2.3