Skip to content

Commit

Permalink
remove vestiges of diodctl -e,--exports option
Browse files Browse the repository at this point in the history
  • Loading branch information
garlick committed Mar 24, 2011
1 parent 076e968 commit 02bdb26
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
@@ -1,3 +1,7 @@
2011-03-24 Jim Garlick <garlick@llnl.gov>

* diodctl/diodctl.c : Remove vestiges of -e option.

2011-03-23 Jim Garlick <garlick@llnl.gov>

* libdiod/diod_conf.[ch], diodctl/serv.c : Pass -c path (if any)
Expand Down
9 changes: 0 additions & 9 deletions diodctl/diodctl.c
Expand Up @@ -25,7 +25,6 @@

/* What we do:
* - Serve /diodctl synthetic file system
* - File 'exports' contains list of I/O node exports
* - File 'ctl' is written with mount options, read for port number.
* - When an attached user reads 'ctl', if a diod server is already
* running for that user, return port. If not, spawn it and return port.
Expand Down Expand Up @@ -113,7 +112,6 @@ main(int argc, char **argv)
{
Npsrv *srv;
int c;
int eopt = 0;
int lopt = 0;
char *copt = NULL;
char *Lopt = NULL;
Expand Down Expand Up @@ -163,13 +161,6 @@ main(int argc, char **argv)
case 'c': /* --config-file PATH */
/* handled above */
break;
case 'e': /* --export PATH */
if (!eopt) {
diod_conf_clr_export ();
eopt = 1;
}
diod_conf_add_export (optarg);
break;
case 'n': /* --no-auth */
diod_conf_set_auth_required (0);
break;
Expand Down

0 comments on commit 02bdb26

Please sign in to comment.