From 9366d6b2e48ba409366adc0516825c41a86dec9b Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Thu, 30 Jan 2014 10:53:46 +0100 Subject: hurd: fix the get-children and get-source procedures * hurd/fs.defs: Add file_get_children and file_get_source. * hurd/fsys.defs: Remove fsys_get_children and fsys_get_source. * libdiskfs/fsys-get-children.c: Rename and adapt accordingly. * libdiskfs/fsys-get-source.c: Likewise. * libnetfs/fsys-get-children.c: Likewise. * libnetfs/fsys-get-source.c: Likewise. * libtrivfs/fsys-get-children.c: Likewise. * libtrivfs/fsys-get-source.c: Likewise. * libdiskfs/diskfs.h: Adapt prototype and comment. * libnetfs/netfs.h: Likewise. * libtrivfs/trivfs.h: Likewise. * libdiskfs/get-source.c: Adapt default implementation, provide diskfs_disk_name by default. * libnetfs/netfs.h: Adapt default implementation. * libtrivfs/get-source.c: Likewise. * libdiskfs/Makefile: Adapt accordingly. * libnetfs/Makefile: Likewise. * libtrivfs/Makefile: Likewise. * trans/symlink.c: Likewise. * trans/mtab.c: Likewise. --- trans/mtab.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'trans/mtab.c') diff --git a/trans/mtab.c b/trans/mtab.c index 75ef1d3a..9a2c5a6e 100644 --- a/trans/mtab.c +++ b/trans/mtab.c @@ -36,7 +36,7 @@ #include #include -#include "fsys_U.h" +#include "fs_U.h" static char *target_path = NULL; static int insecure = 0; @@ -421,7 +421,7 @@ mtab_populate (struct mtab *mtab, const char *path, int insecure) argz_stringify (options, options_len, ','); string_t source; - err = fsys_get_source (node, source); + err = file_get_source (node, source); if (err) { if (err == EOPNOTSUPP) @@ -450,7 +450,7 @@ mtab_populate (struct mtab *mtab, const char *path, int insecure) goto errout; /* path has an active translator, query its children. */ - err = fsys_get_children (node, &children, &children_len); + err = file_get_children (node, &children, &children_len); if (err == EOPNOTSUPP) { err = 0; -- cgit v1.2.3