diff options
author | Roland McGrath <roland@gnu.org> | 2001-03-12 00:45:00 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2001-03-12 00:45:00 +0000 |
commit | 732ec9340d1b092d1a6cbdc697fb10e8bf73fe18 (patch) | |
tree | e9a823557751c3e641cb38c041e3f34eb786ee14 /libstore/mvol.c | |
parent | 4a209143cde0c71b3023b5c4522ae77d968c8e9d (diff) |
2001-03-07 Roland McGrath <roland@frob.com>
* store.h (store_write, store_write_meth_t): Make buffer arg const*.
* copy.c (copy_write): Likewise.
* device.c (dev_write): Likewise.
* file.c (file_write): Likewise.
(file_byte_write): Likewise.
* rdwr.c (store_write): Likewise.
* remap.c (remap_write): Likewise.
* stripe.c (stripe_write): Likewise.
* task.c (task_write): Likewise.
* zero.c (zero_write): Likewise.
* mvol.c (zero_write): Likewise.
Diffstat (limited to 'libstore/mvol.c')
-rw-r--r-- | libstore/mvol.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libstore/mvol.c b/libstore/mvol.c index 18eacf40..f0c87f6c 100644 --- a/libstore/mvol.c +++ b/libstore/mvol.c @@ -1,7 +1,7 @@ /* Multiple-volume store backend - Copyright (C) 1996, 1997 Free Software Foundation, Inc. - Written by Miles Bader <miles@gnu.ai.mit.edu> + Copyright (C) 1996,97,2001 Free Software Foundation, Inc. + Written by Miles Bader <miles@gnu.org> This file is part of the GNU Hurd. The GNU Hurd is free software; you can redistribute it and/or @@ -61,8 +61,8 @@ mvol_read (struct store *store, static error_t mvol_write (struct store *store, - store_offset_t addr, size_t index, void *buf, size_t len, - size_t *amount) + store_offset_t addr, size_t index, + const void *buf, size_t len, size_t *amount) { error_t err = ensure_vol (store, index); if (! err) @@ -117,7 +117,7 @@ store_mvol_create (struct store *phys, } else err = ENOMEM; - + if (! err) err = store_set_children (*store, &phys, 1); |