summaryrefslogtreecommitdiff
path: root/storeio/dev.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2001-01-16 11:51:00 +0000
committerRoland McGrath <roland@gnu.org>2001-01-16 11:51:00 +0000
commit73cca3c79358164f2baa93ad75072998fed44cf4 (patch)
tree80a6313f7c7f60f5ce97858cc19e5d502270fe5a /storeio/dev.h
parent600a46782cd5d273e9afeda26e926944faecf13a (diff)
2001-01-16 Roland McGrath <roland@frob.com>
* storeio.c (parse_opt): Set PARAMS->store_params.store_optional. (storeio_fsys): New global variable. (main): Use it. * dev.h: Declare it. * dev.c (dev_open): If DEV->store_name is null, open the underlying node using store_create.
Diffstat (limited to 'storeio/dev.h')
-rw-r--r--storeio/dev.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/storeio/dev.h b/storeio/dev.h
index b223fe7e..52960cd7 100644
--- a/storeio/dev.h
+++ b/storeio/dev.h
@@ -1,6 +1,6 @@
/* store `device' I/O
- Copyright (C) 1995,96,97,99,2000 Free Software Foundation, Inc.
+ Copyright (C) 1995,96,97,99,2000,2001 Free Software Foundation, Inc.
Written by Miles Bader <miles@gnu.org>
This program is free software; you can redistribute it and/or
@@ -25,6 +25,8 @@
#include <rwlock.h>
#include <hurd/store.h>
+extern struct trivfs_control *storeio_fsys;
+
/* Information about backend store, which we presumptively call a "device". */
struct dev
{