diff options
author | Marcus Brinkmann <marcus@gnu.org> | 2001-04-19 22:11:52 +0000 |
---|---|---|
committer | Marcus Brinkmann <marcus@gnu.org> | 2001-04-19 22:11:52 +0000 |
commit | 82781dd6da2b6a1eb113e20d100052509bb85a90 (patch) | |
tree | 748f7044ed4fe884d8d3b350e75906e29e01aa41 /storeio/ChangeLog | |
parent | 83e61d2d234ac403a6e6e91c12b1d87aca64de10 (diff) | |
download | hurd-82781dd6da2b6a1eb113e20d100052509bb85a90.tar.gz hurd-82781dd6da2b6a1eb113e20d100052509bb85a90.tar.bz2 hurd-82781dd6da2b6a1eb113e20d100052509bb85a90.zip |
2001-02-18 Marcus Brinkmann <marcus@gnu.org>
* dev.h (struct dev): New member nperopens.
* storeio.c (open_hook): Hold device lock and check if this is the
first open. If yes, activate the store.
(close_hook): Hold global_lock and check if this was the last
open. If yes, inactivate the store.
* dev.c (dev_open): Open the store with STORE_INACTIVE
(in store_parsed_open as well as in store_create).
Diffstat (limited to 'storeio/ChangeLog')
-rw-r--r-- | storeio/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/storeio/ChangeLog b/storeio/ChangeLog index 5a0c51ba..43a300ab 100644 --- a/storeio/ChangeLog +++ b/storeio/ChangeLog @@ -1,3 +1,13 @@ +2001-02-18 Marcus Brinkmann <marcus@gnu.org> + + * dev.h (struct dev): New member nperopens. + * storeio.c (open_hook): Hold device lock and check if this is the + first open. If yes, activate the store. + (close_hook): Hold global_lock and check if this was the last + open. If yes, inactivate the store. + * dev.c (dev_open): Open the store with STORE_INACTIVE + (in store_parsed_open as well as in store_create). + 2001-01-17 Roland McGrath <roland@frob.com> * dev.c (dev_buf_discard): Don't check AMOUNT if store_write failed. |