From: Thomas Veerman Date: Fri, 26 Aug 2011 15:43:30 +0000 (+0000) Subject: Unverbose mount X-Git-Tag: v3.2.0~330 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/named.html?a=commitdiff_plain;h=7f24c2b3ca00d1e5d3820d05aadec760e7cc1778;p=minix.git Unverbose mount --- diff --git a/servers/avfs/glo.h b/servers/avfs/glo.h index df8d772cd..ed50c1b5a 100644 --- a/servers/avfs/glo.h +++ b/servers/avfs/glo.h @@ -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 */ diff --git a/servers/avfs/main.c b/servers/avfs/main.c index 04be3bd75..2e548b80b 100644 --- a/servers/avfs/main.c +++ b/servers/avfs/main.c @@ -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) { diff --git a/servers/avfs/mount.c b/servers/avfs/mount.c index 46914724e..64f42407f 100644 --- a/servers/avfs/mount.c +++ b/servers/avfs/mount.c @@ -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); }