diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2007-08-14 15:08:04 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2007-08-14 15:08:04 (GMT) |
commit | 7de10b48334d0113b1733f145c7d2bb4e9d4f9f1 (patch) | |
tree | b3311360139efb32681f43906f5c3a90d9935ea6 /src | |
parent | 4dc989f28232245dbc2f52c1330346868099234e (diff) | |
download | hdf5-7de10b48334d0113b1733f145c7d2bb4e9d4f9f1.zip hdf5-7de10b48334d0113b1733f145c7d2bb4e9d4f9f1.tar.gz hdf5-7de10b48334d0113b1733f145c7d2bb4e9d4f9f1.tar.bz2 |
[svn-r14084] Description:
Change metadata cache protect access from "write" to "read" for the free
space header, which follows the same pattern as the fractal heap's use of
the metadata cache.
Tested on:
FreeBSD/32 6.2 (duty)
Mac OS X/32 10.4.10 (amazon)
Diffstat (limited to 'src')
-rw-r--r-- | src/H5FS.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -181,7 +181,7 @@ HDfprintf(stderr, "%s: Opening free space manager, nclasses = %Zu\n", FUNC, ncla fs_prot.cls_init_udata = cls_init_udata; /* Protect the free space header */ - if(NULL == (fspace = H5AC_protect(f, dxpl_id, H5AC_FSPACE_HDR, fs_addr, &fs_prot, NULL, H5AC_WRITE))) + if(NULL == (fspace = H5AC_protect(f, dxpl_id, H5AC_FSPACE_HDR, fs_addr, &fs_prot, NULL, H5AC_READ))) HGOTO_ERROR(H5E_FSPACE, H5E_CANTPROTECT, NULL, "unable to load free space header") #ifdef QAK HDfprintf(stderr, "%s: fspace->sect_addr = %a\n", FUNC, fspace->sect_addr); |