Remove FreeBSD's local copy of the dmu_buf_hold_array() function

Make the main dmu_buf_hold_array() function non-static.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ryan Moeller <ryan@ixsystems.com>
Signed-off-by: Pawel Jakub Dawidek <pawel@dawidek.net>
Closes #12628
This commit is contained in:
Pawel Jakub Dawidek
2021-10-13 11:01:01 -07:00
committed by GitHub
parent d785245857
commit afbc617921
3 changed files with 3 additions and 20 deletions
+1 -1
View File
@@ -613,7 +613,7 @@ dmu_buf_hold_array_by_dnode(dnode_t *dn, uint64_t offset, uint64_t length,
return (0);
}
static int
int
dmu_buf_hold_array(objset_t *os, uint64_t object, uint64_t offset,
uint64_t length, int read, void *tag, int *numbufsp, dmu_buf_t ***dbpp)
{