diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-02-12 11:24:14 +0100 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-02-25 11:19:00 +0100 |
commit | 982261fec4707d0c8d0723d90d9c0e465d98aa93 (patch) | |
tree | a62031c4393800cdcc9717455f55c16245c8b995 /libnetfs/fsys-get-options.c | |
parent | 41b88dab57df5a1b490550fd8c4b80788ce55a81 (diff) | |
download | hurd-982261fec4707d0c8d0723d90d9c0e465d98aa93.tar.gz hurd-982261fec4707d0c8d0723d90d9c0e465d98aa93.tar.bz2 hurd-982261fec4707d0c8d0723d90d9c0e465d98aa93.zip |
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.
Diffstat (limited to 'libnetfs/fsys-get-options.c')
-rw-r--r-- | libnetfs/fsys-get-options.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libnetfs/fsys-get-options.c b/libnetfs/fsys-get-options.c index 54bd9a00..836806b2 100644 --- a/libnetfs/fsys-get-options.c +++ b/libnetfs/fsys-get-options.c @@ -31,7 +31,7 @@ /* Implement fsys_get_options as described in <hurd/fsys.defs>. */ error_t -netfs_S_fsys_get_options (fsys_t fsys, +netfs_S_fsys_get_options (struct netfs_control *port, mach_port_t reply, mach_msg_type_name_t reply_type, char **data, mach_msg_type_number_t *data_len) @@ -39,8 +39,6 @@ netfs_S_fsys_get_options (fsys_t fsys, error_t err; char *argz = 0; size_t argz_len = 0; - struct port_info *port = - ports_lookup_port (netfs_port_bucket, fsys, netfs_control_class); if (!port) return EOPNOTSUPP; @@ -63,7 +61,5 @@ netfs_S_fsys_get_options (fsys_t fsys, else free (argz); - ports_port_deref (port); - return err; } |