GC some old no longer supported options.

This commit is contained in:
Poul-Henning Kamp 2000-09-25 12:38:55 +00:00
parent 11a0f7fe07
commit 93ce5ab049
2 changed files with 1 additions and 4 deletions

View file

@ -82,9 +82,7 @@
#include <vm/vm_object.h>
#include <vm/vm_page.h>
#include <vm/vm_pager.h>
#include <vm/vm_pageout.h>
#include <vm/swap_pager.h>
#include <vm/vm_extern.h>
static d_ioctl_t vnioctl;
static d_open_t vnopen;
@ -146,7 +144,7 @@ static SLIST_HEAD(, vn_softc) vn_list;
#define VNF_INITED 0x01
#define VNF_READONLY 0x02
static u_long vn_options;
static u_long vn_options = VN_LABELS;
#define IFOPT(vn,opt) if (((vn)->sc_options|vn_options) & (opt))
#define TESTOPT(vn,opt) (((vn)->sc_options|vn_options) & (opt))

View file

@ -238,7 +238,6 @@ what_opt(str,p)
if (!strcmp(str,"labels")) { *p |= VN_LABELS; return 0; }
if (!strcmp(str,"follow")) { *p |= VN_FOLLOW; return 0; }
if (!strcmp(str,"debug")) { *p |= VN_DEBUG; return 0; }
if (!strcmp(str,"io")) { *p |= VN_IO; return 0; }
if (!strcmp(str,"all")) { *p |= ~0; return 0; }
if (!strcmp(str,"none")) { *p |= 0; return 0; }
return 1;