]> git.proxmox.com Git - mirror_zfs.git/blobdiff - module/zfs/dbuf.c
Add linux kernel module support
[mirror_zfs.git] / module / zfs / dbuf.c
index fb7d0ac86eca1a3064708cc58b25b295b3cfd009..1ebac4ee6da7c4c14196b0167884d9b46e2f7703 100644 (file)
@@ -23,6 +23,7 @@
  */
 
 #include <sys/zfs_context.h>
+#include <sys/arc.h>
 #include <sys/dmu.h>
 #include <sys/dmu_impl.h>
 #include <sys/dbuf.h>
@@ -2816,3 +2817,8 @@ dbuf_write(dbuf_dirty_record_t *dr, arc_buf_t *data, dmu_tx_t *tx)
                    ZIO_PRIORITY_ASYNC_WRITE, ZIO_FLAG_MUSTSUCCEED, &zb);
        }
 }
+
+#if defined(_KERNEL) && defined(HAVE_SPL)
+EXPORT_SYMBOL(dmu_buf_rele);
+EXPORT_SYMBOL(dmu_buf_will_dirty);
+#endif