summaryrefslogtreecommitdiff
path: root/storeio/dev.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-11-18 06:23:27 +0000
committerRoland McGrath <roland@gnu.org>1999-11-18 06:23:27 +0000
commit0e224593fa805f84729abf366db3910dc0b28bfa (patch)
tree9faebe3a3a31c328c000ac87fe4053ec1e70acb7 /storeio/dev.h
parenta28b7971a74ad65d1d38fc96f0b53283abac15b4 (diff)
1999-11-14 Roland McGrath <roland@baalperazim.frob.com>
* storeio.c (check_open_hook): Don't check for D_NO_SUCH_DEVICE here. Translation to ENXIO now done in libstore. * dev.h (struct dev): New member `enforced'. * storeio.c (enforce_store): New variable. (options, parse_opt, trivfs_append_args): Grok new option --enforced/-e to set enforce_store. (check_open_hook): Set DEVICE->enforced from enforce_store. * io.c (trivfs_S_file_get_storage_info): If DEV->enforced is set and the store flags lack STORE_ENFORCED, then return STORAGE_OTHER.
Diffstat (limited to 'storeio/dev.h')
0 files changed, 0 insertions, 0 deletions