diff --git a/servers/vfs/glo.h b/servers/vfs/glo.h index f56492c66..852218295 100644 --- a/servers/vfs/glo.h +++ b/servers/vfs/glo.h @@ -22,7 +22,6 @@ EXTERN int who_p, who_e; /* caller's proc number, endpoint */ EXTERN int call_nr; /* system call number */ EXTERN message mount_m_in; /* the input message for a mount request */ -EXTERN endpoint_t mount_fs_e; /* endpoint of file system to mount */ EXTERN char mount_label[LABEL_MAX]; /* label of file system to mount */ EXTERN char user_fullpath[PATH_MAX+1]; /* storage for user path name */ diff --git a/servers/vfs/mount.c b/servers/vfs/mount.c index 39c21700c..1bdbb5e26 100644 --- a/servers/vfs/mount.c +++ b/servers/vfs/mount.c @@ -114,8 +114,6 @@ PRIVATE int mount_fs(endpoint_t fs_e) if (!super_user) return(EPERM); /* Clear endpoint field */ - mount_fs_e = NONE; - /* Should the file system be mounted read-only? */ rdonly = (m_in.mount_flags & MS_RDONLY);