summaryrefslogtreecommitdiffstats
path: root/src/H5Fcontig.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-08-28 16:02:21 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-08-28 16:02:21 (GMT)
commita3888a3b007e818f4178b053606c8d1b46f0fa1b (patch)
tree315bb1018c4d2bc20b01e9ad7ff82f8d008e7537 /src/H5Fcontig.c
parentb89fbdd877c687edb489d02f5f286a33e9af251f (diff)
downloadhdf5-a3888a3b007e818f4178b053606c8d1b46f0fa1b.zip
hdf5-a3888a3b007e818f4178b053606c8d1b46f0fa1b.tar.gz
hdf5-a3888a3b007e818f4178b053606c8d1b46f0fa1b.tar.bz2
[svn-r7426] Purpose:
Bug fix Description: When datasets are deleted from a file, they are removed from the sieve buffer, but instead of invalidating only the part of the sieve buffer affected, the sieve buffer code would throw away the entire sieve buffer, potentially including other raw data in the buffer that hadn't been written to disk yet. Solution: Improve the sieve buffer clearing code to handle partial invalidations. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
Diffstat (limited to 'src/H5Fcontig.c')
-rw-r--r--src/H5Fcontig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Fcontig.c b/src/H5Fcontig.c
index 64a4377..5f0c72d 100644
--- a/src/H5Fcontig.c
+++ b/src/H5Fcontig.c
@@ -332,7 +332,7 @@ H5F_contig_delete(H5F_t *f, hid_t dxpl_id, const struct H5O_layout_t *layout)
size *= layout->dim[u];
/* Check for overlap with the sieve buffer and reset it */
- if (H5F_sieve_overlap_clear(f, layout->addr, size)<0)
+ if (H5F_sieve_overlap_clear(f, dxpl_id, layout->addr, size)<0)
HGOTO_ERROR(H5E_OHDR, H5E_CANTFREE, FAIL, "unable to clear sieve buffer");
/* Free the file space for the chunk */