diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-12-13 20:09:03 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-12-13 20:09:03 +0100 |
commit | 27a83106f4b5b68d77afa8f800d92398163a7043 (patch) | |
tree | 885db879a8f73d6436cdc3510d5eae430cb4df28 /sys/src/cmd/exportfs/exportsrv.c | |
parent | 0b33b3b8adf95bcf6cf0764fe425169ee0b8be0e (diff) |
oexportfs: move legacy code for cpu and import to separate program
The initial protocol handling in exportfs for
cpu and import services is a huge mess.
Saparate the code out into its own program with
its own oexportfs(4) manpage.
Diffstat (limited to 'sys/src/cmd/exportfs/exportsrv.c')
-rw-r--r-- | sys/src/cmd/exportfs/exportsrv.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/src/cmd/exportfs/exportsrv.c b/sys/src/cmd/exportfs/exportsrv.c index a413ed0dc..b7ddd64b5 100644 --- a/sys/src/cmd/exportfs/exportsrv.c +++ b/sys/src/cmd/exportfs/exportsrv.c @@ -5,8 +5,6 @@ #define Extern extern #include "exportfs.h" -extern char *netdir, *local, *remote; - char Ebadfid[] = "Bad fid"; char Enotdir[] = "Not a directory"; char Edupfid[] = "Fid already in use"; @@ -493,12 +491,6 @@ slave(Fsrpc *f) return; case 0: - if (local[0] != '\0') - if (netdir[0] != '\0') - procsetname("%s: %s -> %s", netdir, - local, remote); - else - procsetname("%s -> %s", local, remote); blockingslave(m); _exits(0); |