From bc86c37cdef33382667000557f254e3474f7b612 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 2 Jan 2002 01:32:36 +0000 Subject: 2001-12-28 Roland McGrath * 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. --- storeio/dev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'storeio/dev.h') 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; -- cgit v1.2.3