From: "Banerjee, Debabrata" Subject: Re: kernel BUG at fs/dcache.c:2105 (__d_rehash(): BUG_ON(!d_unhashed(entry))) Date: Tue, 18 Sep 2012 18:17:33 -0400 Message-ID: References: <20120918212317.GB21472@fieldses.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT Cc: "linux-fsdevel@vger.kernel.org" , "dbavatar@gmail.com" To: "J. Bruce Fields" Return-path: Received: from prod-mail-xrelay01.akamai.com ([72.246.2.12]:12561 "EHLO prod-mail-xrelay01.akamai.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755167Ab2IRWZD convert rfc822-to-8bit (ORCPT ); Tue, 18 Sep 2012 18:25:03 -0400 In-Reply-To: <20120918212317.GB21472@fieldses.org> Content-Language: en-US Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On 9/18/12 5:23 PM, "J. Bruce Fields" wrote: >But it looks like line 2105 of 3.0.30 is a comment?: > >$ git show v3.0.30:fs/dcache.c |nl|grep '2105' >2105 * This helper attempts to cope with remotely renamed directories > >$ git grep -n 'BUG_ON(!d_unhashed(entry))' v3.0.30:fs/dcache.c >v3.0.30:fs/dcache.c:2077: BUG_ON(!d_unhashed(entry)); > >Just curious. > >--b. It's just some instrumentation, doesn't have an affect on the outcome, it's the same src line. In retrospect I probably should have grabbed the stack from the vanilla dcache.c. Anyways I'll be getting more data but it will take a few days, I can get a vanilla one if that will satisfy you. -Debabrata