From 8a5b47ebb5334646f1b3c1621788a9b991da21d7 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Fri, 10 Jul 2009 11:39:37 -0700 Subject: [PATCH] Add dmu_write_impl() prototype needed by zpios until a clean zerocopy interface is available. --- module/zfs/include/sys/dmu.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/zfs/include/sys/dmu.h b/module/zfs/include/sys/dmu.h index d4dc194611..b48b4f416b 100644 --- a/module/zfs/include/sys/dmu.h +++ b/module/zfs/include/sys/dmu.h @@ -483,6 +483,8 @@ int dmu_free_object(objset_t *os, uint64_t object); #define DMU_WRITE_ZEROCOPY 4 /* zerocopy on write (test) */ int dmu_read(objset_t *os, uint64_t object, uint64_t offset, uint64_t size, void *buf, uint32_t flags); +void dmu_write_impl(objset_t *os, uint64_t object, uint64_t offset, + uint64_t size, const void *buf, dmu_tx_t *tx, int flags); void dmu_write(objset_t *os, uint64_t object, uint64_t offset, uint64_t size, const void *buf, dmu_tx_t *tx); void dmu_prealloc(objset_t *os, uint64_t object, uint64_t offset, uint64_t size,