Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1781816imm; Sat, 2 Jun 2018 08:49:46 -0700 (PDT) X-Google-Smtp-Source: ADUXVKK4vEv1+ncI6/YqYGzYLUFtg24xIvou73oLYe2uW5oFoIHaO/KamAD2F16gJDSjvv+5Bu9T X-Received: by 2002:a17:902:543:: with SMTP id 61-v6mr15380151plf.47.1527954586789; Sat, 02 Jun 2018 08:49:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527954586; cv=none; d=google.com; s=arc-20160816; b=yZAUDF9nrxTovV+28etgnOV8r7YnLtlqD3bAEsIagTq6c0x61WGGNsKt1EkBT/sW01 MMG8Vxw1LqEObAHgvtM7C+QYyeohLKJu11HndRSbTTApJOiutcXa8ebaFdKzw0DPCliZ CyrKRbDkcgG+0Ac+kcqGaTitNlktyYDB58a0+OXOFe3a5FUEARKn9BwLzXeiu55cidoN 7VEBM9bp/zaES8QO4UWiFYoOtPz7lb8xPqNUuxRF0kEK++Og5ULyffjzlTKWWB5NI+8A ENPXlVQtovXnISRB+ERdooI3++GlWuwKBivbiAWrCeH3O0Hw0dg4s0P370t5GVNl94i1 +riA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=QcA3QPY+IjLy0PyLvhOpoC5DnZCVejYyn9xrrxjiJDI=; b=cYRMPqr1wTdCo9ZSzzNL1rImQFnLMs4PvGbsXIMI9KHMdz9/6x9pKbpvqB8owxwTWi cWdBo/ZwxZt7qXvM3bqdSApbVZVLENW7UFrBOJUrZDkz/Mc8kRdyXKgcfkyplqlTqoC/ SLJB9TG/dm4f+R3wlsqN5LT29rituUyAdh4cN4OPEhy3e+4iIz8EVAzrSwvN4et/c8Zw eCxhIo+mzmBruV7U27q+96bk60+AP+2282O0+/j7c7bV/CxO9ODbsoyMS7laOxdJXck3 MZHCce3g8UNZXLQ/EbFcC/4jAkxYD5IW9hpH0CzotOGUUfrC/0XSK6qmnPKX780o4qdp iETw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d11-v6si18929368pll.255.2018.06.02.08.49.31; Sat, 02 Jun 2018 08:49:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751778AbeFBPtH (ORCPT + 99 others); Sat, 2 Jun 2018 11:49:07 -0400 Received: from orcrist.hmeau.com ([104.223.48.154]:59044 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750964AbeFBPtG (ORCPT ); Sat, 2 Jun 2018 11:49:06 -0400 Received: from gondobar.mordor.me.apana.org.au ([192.168.128.4] helo=gondobar) by deadmen.hmeau.com with esmtps (Exim 4.89 #2 (Debian)) id 1fP8m2-0000Vq-0y; Sat, 02 Jun 2018 23:48:58 +0800 Received: from herbert by gondobar with local (Exim 4.89) (envelope-from ) id 1fP8lv-0002lt-TW; Sat, 02 Jun 2018 23:48:51 +0800 Date: Sat, 2 Jun 2018 23:48:51 +0800 From: Herbert Xu To: NeilBrown Cc: Thomas Graf , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Tom Herbert Subject: Re: [PATCH 10/18] rhashtable: remove rhashtable_walk_peek() Message-ID: <20180602154851.pfy4wryezuhxp76v@gondor.apana.org.au> References: <152782754287.30340.4395718227884933670.stgit@noble> <152782824964.30340.6329146982899668633.stgit@noble> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <152782824964.30340.6329146982899668633.stgit@noble> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 01, 2018 at 02:44:09PM +1000, NeilBrown wrote: > This function has a somewhat confused behavior that is not properly > described by the documentation. > Sometimes is returns the previous object, sometimes it returns the > next one. > Sometimes it changes the iterator, sometimes it doesn't. > > This function is not currently used and is not worth keeping, so > remove it. > > A future patch will introduce a new function with a > simpler interface which can meet the same need that > this was added for. > > Signed-off-by: NeilBrown Please keep Tom Herbert in the loop. IIRC he had an issue with this patch. Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt