Unverbose mount

This commit is contained in:
Thomas Veerman 2011-08-26 15:43:30 +00:00
parent 78183bddff
commit 7f24c2b3ca
3 changed files with 1 additions and 14 deletions

View file

@ -37,8 +37,6 @@ EXTERN struct worker_thread *self;
EXTERN endpoint_t receive_from;/* endpoint with pending reply */
EXTERN int force_sync; /* toggle forced synchronous communication */
EXTERN int verbose;
EXTERN int verbose2;
EXTERN endpoint_t verbose_e;
EXTERN int deadlock_resolving;
EXTERN mutex_t exec_lock;
EXTERN mutex_t bsf_lock;/* Global lock for access to block special files */

View file

@ -79,8 +79,6 @@ PUBLIC int main(void)
printf("Started AVFS\n");
verbose = 0;
verbose2 = 0;
verbose_e = NONE;
/* This is the main loop that gets work, processes it, and sends replies. */
while (TRUE) {
@ -387,10 +385,6 @@ PRIVATE void *do_work(void *arg)
lock_proc(fp, 0); /* This proc is busy */
if (verbose2 && who_e == verbose_e) {
printf("Doing call_nr = %d for %d\n", call_nr, who_e);
}
if (call_nr == MAPDRIVER) {
error = do_mapdriver();
} else if (call_nr == COMMON_GETSYSINFO) {

View file

@ -152,12 +152,7 @@ PUBLIC int do_mount()
return(err_code);
/* Do the actual job */
verbose2 = 1;
verbose_e = fs_e;
r = mount_fs(dev, fullpath, fs_e, rdonly, mount_label);
verbose2 = 0;
verbose_e = NONE;
return(r);
return mount_fs(dev, fullpath, fs_e, rdonly, mount_label);
}