From de634c41e68e789d79f2828d15432e942ef8a7f3 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 19 Mar 2000 20:55:51 +0000 Subject: . --- storeio/ChangeLog | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/storeio/ChangeLog b/storeio/ChangeLog index 0b351f50..dd0d63d3 100644 --- a/storeio/ChangeLog +++ b/storeio/ChangeLog @@ -1,3 +1,31 @@ +2000-03-19 Roland McGrath + + * dev.h (struct dev): New members store_name, readonly, rdev. + (dev_is_readonly): New inline function. + * dev.c (dev_open): Take just one arg, a struct dev whose store==0. + (dev_close): Shut down the store, but leave DEV intact with store==0. + * storeio.c (struct storeio_argp_params): New type. + (device, device_lock, store_name): Variables removed. + (readonly, inhibit_cache, enforce_store, rdev): Likewise. + These are all now members in struct storeio_argp_params or struct dev; + rdev now uses dev_t instead of int. + (parse_opt): Find a struct storeio_argp_params in STATE->input + and fill it in accordingly. Use makedev macro to construct rdev. + (trivfs_append_args): Find options in struct dev off control hook. + Use major, minor macros. + (main): Make DEVICE a local here, and point FSYS->hook at it. + Don't modify trivfs_allow_open. + (getroot_hook): New static function. + (trivfs_getroot_hook): New variable, initialized to that. + (check_open_hook): Find struct dev in CNTL->hook and + use new dev_open interface. Use dev_is_readonly. + (open_hook): Find struct dev in PEROPEN->cntl->hook and + check DEV->store. + (trivfs_modify_stat): Find struct dev in CRED->po->cntl->hook. + Use dev_is_readonly. + (trivfs_goaway): Find struct dev in FSYS->hook and use its lock. + (trivfs_S_fsys_syncfs): Find struct dev in CNTL->hook. + 1999-11-24 Roland McGrath * storeio.c (trivfs_modify_stat): Clear writable bits if open store is -- cgit v1.2.3