aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cmd/zdb/zdb.c7
-rw-r--r--module/zfs/dbuf.c2
2 files changed, 0 insertions, 9 deletions
diff --git a/cmd/zdb/zdb.c b/cmd/zdb/zdb.c
index cc4b0340f..882fbae95 100644
--- a/cmd/zdb/zdb.c
+++ b/cmd/zdb/zdb.c
@@ -83,17 +83,10 @@ zdb_ot_name(dmu_object_type_t type)
return ("UNKNOWN");
}
-#ifndef lint
extern int reference_tracking_enable;
extern int zfs_recover;
extern uint64_t zfs_arc_max, zfs_arc_meta_limit;
extern int zfs_vdev_async_read_max_active;
-#else
-int reference_tracking_enable;
-int zfs_recover;
-uint64_t zfs_arc_max, zfs_arc_meta_limit;
-int zfs_vdev_async_read_max_active;
-#endif
const char cmdname[] = "zdb";
uint8_t dump_opt[256];
diff --git a/module/zfs/dbuf.c b/module/zfs/dbuf.c
index d2e65dd9c..173e1dbb8 100644
--- a/module/zfs/dbuf.c
+++ b/module/zfs/dbuf.c
@@ -78,12 +78,10 @@ uint_t zfs_dbuf_evict_key;
static boolean_t dbuf_undirty(dmu_buf_impl_t *db, dmu_tx_t *tx);
static void dbuf_write(dbuf_dirty_record_t *dr, arc_buf_t *data, dmu_tx_t *tx);
-#ifndef __lint
extern inline void dmu_buf_init_user(dmu_buf_user_t *dbu,
dmu_buf_evict_func_t *evict_func_sync,
dmu_buf_evict_func_t *evict_func_async,
dmu_buf_t **clear_on_evict_dbufp);
-#endif /* ! __lint */
/*
* Global data structures and functions for the dbuf cache.