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.
This commit is contained in:
@ -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. */
|
||||
|
Reference in New Issue
Block a user