diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2021-01-14 14:19:48 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-14 14:19:48 (GMT) |
commit | 0d8529055da9ab23162e698309cc6da1dd93f99e (patch) | |
tree | d89353233b2c5c396578fdb47268072a83fcfa09 /src/H5FDint.c | |
parent | b1eb47ac4dce3f5bd548fb3bee0f630679b1eee8 (diff) | |
download | hdf5-0d8529055da9ab23162e698309cc6da1dd93f99e.zip hdf5-0d8529055da9ab23162e698309cc6da1dd93f99e.tar.gz hdf5-0d8529055da9ab23162e698309cc6da1dd93f99e.tar.bz2 |
Removes lock/unlock callbacks from ros3 and hdfs VFDs (#258)
* Removes no-op callback stubs from read-only VFDs
Also changes VFD registration to allow read-only VFDs with no
write callback to be registered.
* Adds a RELEASE.txt note for HDFFV-11205
For the read-only VFD registration change
* Revert "Removes no-op callback stubs from read-only VFDs"
This reverts commit a7a95497305d64d2de783fdb0e3186a532446a4a.
* Removes lock callbacks from ros3 and hdfs VFDs
Diffstat (limited to 'src/H5FDint.c')
-rw-r--r-- | src/H5FDint.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/H5FDint.c b/src/H5FDint.c index 8c93f1c..b651c23 100644 --- a/src/H5FDint.c +++ b/src/H5FDint.c @@ -215,10 +215,6 @@ H5FD_write(H5FD_t *file, H5FD_mem_t type, haddr_t addr, size_t size, const void HDassert(file->cls); HDassert(buf); - /* Make sure this isn't being called on a read-only VFD */ - if (!file->cls->write) - HGOTO_ERROR(H5E_VFL, H5E_WRITEERROR, FAIL, "write request made to read-only VFD") - /* Get proper DXPL for I/O */ dxpl_id = H5CX_get_dxpl(); |