]> Zhao Yanbai Git Server - minix.git/commitdiff
removed unneeded global var
authorDirk Vogt <dirk@minix3.org>
Wed, 24 Nov 2010 16:30:13 +0000 (16:30 +0000)
committerDirk Vogt <dirk@minix3.org>
Wed, 24 Nov 2010 16:30:13 +0000 (16:30 +0000)
servers/vfs/glo.h
servers/vfs/mount.c

index f56492c668c858abf0aad579cc33a27941f48a1d..852218295504a3224be7ab19028c48fb91456dfb 100644 (file)
@@ -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 */
index 39c21700c4c8fe36fbca0c76b69c7dfdac9d7d39..1bdbb5e26a73d74cb5c7f862c9473e9f82b43a96 100644 (file)
@@ -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);