From 00d7d6cef6419654071ccc77d9b2f212198dab3d Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 11 Sep 2006 17:42:44 +0000 Subject: nfsmount: sanitize it. It had a rather peculiar idea of implementing "bg" option - it was going to return a special flag back to caller and expecting caller to call it again with special parameter! Also caller was charged with calling mount() syscall... mount: mtab support was non-functional. Enabling it revealed serious bug which is not fixed yet. --- include/libbb.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/libbb.h b/include/libbb.h index 6e136ab7b..cb39e7b3f 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -303,8 +303,8 @@ extern int set_loop(char **device, const char *file, int offset); extern int vdprintf(int d, const char *format, va_list ap); #endif -int nfsmount(const char *spec, const char *node, int *flags, - char **mount_opts, int running_bg); +int mount_it_now(struct mntent *mp, int vfsflags, char *filteropts); +int nfsmount(struct mntent *mp, int vfsflags, char *filteropts); /* Include our own copy of struct sysinfo to avoid binary compatibility * problems with Linux 2.4, which changed things. Grumble, grumble. */ -- cgit v1.2.3