From 2fb1a234ab6912399336c8d459b1e40f67bc823e Mon Sep 17 00:00:00 2001 From: chrisrd Date: Fri, 25 Aug 2017 03:31:59 +1000 Subject: [PATCH] dbuf_cons: deduplicate multilist_link_init() Remove harmless duplicate multilist_link_init() introduced by commit d3c2ae1. Reviewed-by: George Melikov Reviewed-by: Giuseppe Di Natale Reviewed-by: Brian Behlendorf Reviewed-by: loli10K Signed-off-by: Chris Dunlop Closes #6552 --- module/zfs/dbuf.c | 1 - 1 file changed, 1 deletion(-) diff --git a/module/zfs/dbuf.c b/module/zfs/dbuf.c index 745715861..fb490ceda 100644 --- a/module/zfs/dbuf.c +++ b/module/zfs/dbuf.c @@ -167,7 +167,6 @@ dbuf_cons(void *vdb, void *unused, int kmflag) cv_init(&db->db_changed, NULL, CV_DEFAULT, NULL); multilist_link_init(&db->db_cache_link); refcount_create(&db->db_holds); - multilist_link_init(&db->db_cache_link); return (0); }