virtiofsd: remove mountpoint dummy argument

Classic FUSE file system daemons take a mountpoint argument but
virtiofsd exposes a vhost-user UNIX domain socket instead.  The
mountpoint argument is not used by virtiofsd but the user is still
required to pass a dummy argument on the command-line.

Remove the mountpoint argument to clean up the command-line.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
This commit is contained in:
Stefan Hajnoczi
2019-03-08 13:24:31 +00:00
committed by Dr. David Alan Gilbert
parent 7387863d03
commit 67aab02272
4 changed files with 7 additions and 31 deletions

View File

@@ -1863,7 +1863,6 @@ struct fuse_cmdline_opts {
int foreground;
int debug;
int nodefault_subtype;
char *mountpoint;
int show_version;
int show_help;
unsigned int max_idle_threads;
@@ -1924,12 +1923,11 @@ struct fuse_session *fuse_session_new(struct fuse_args *args,
/**
* Mount a FUSE file system.
*
* @param mountpoint the mount point path
* @param se session object
*
* @return 0 on success, -1 on failure.
**/
int fuse_session_mount(struct fuse_session *se, const char *mountpoint);
int fuse_session_mount(struct fuse_session *se);
/**
* Enter a single threaded, blocking event loop.