From 5e1e7635069c6b3dba076f326f34214653c033a2 Mon Sep 17 00:00:00 2001 From: Dirk Vogt Date: Wed, 24 Nov 2010 16:30:13 +0000 Subject: [PATCH] removed unneeded global var --- servers/vfs/glo.h | 1 - servers/vfs/mount.c | 2 -- 2 files changed, 3 deletions(-) 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); -- 2.44.0