summaryrefslogtreecommitdiff
path: root/storeio/dev.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-01-02 01:32:36 +0000
committerRoland McGrath <roland@gnu.org>2002-01-02 01:32:36 +0000
commitbc86c37cdef33382667000557f254e3474f7b612 (patch)
tree2a19b93d23d02377b6ddc2b524ba4aff8a1e9d27 /storeio/dev.h
parente809db1d3f4e7658927d3dfd0c0c57a5fed4dc85 (diff)
2001-12-28 Roland McGrath <roland@frob.com>
* dev.h (struct dev): New member `no_fileio' (flag). * storeio.c (options): Add --no-file-io/-F. (parse_opt): Parse it to set PARAMS->dev->no_fileio. (trivfs_append_args): Add --no-file-io if it's set. * dev.c (dev_open): Pass STORE_NOFILEIO flag if DEV->no_fileio is set.
Diffstat (limited to 'storeio/dev.h')
-rw-r--r--storeio/dev.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/storeio/dev.h b/storeio/dev.h
index d5b9d1a4..23924ca5 100644
--- a/storeio/dev.h
+++ b/storeio/dev.h
@@ -40,6 +40,7 @@ struct dev
int readonly; /* Nonzero if user gave --readonly flag. */
int enforced; /* Nonzero if user gave --enforced flag. */
+ int no_fileio; /* Nonzero if user gave --no-fileio flag. */
dev_t rdev; /* A unixy device number for st_rdev. */
/* The current owner of the open device. For terminals, this affects
@@ -63,7 +64,6 @@ struct dev
and don't need to be initialized or cleaned up. */
int inhibit_cache;
-
/* A bitmask corresponding to the part of an offset that lies within a
device block. */
unsigned block_mask;