Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754798AbbDTUum (ORCPT ); Mon, 20 Apr 2015 16:50:42 -0400 Received: from mail-ig0-f180.google.com ([209.85.213.180]:35128 "EHLO mail-ig0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753278AbbDTUuj (ORCPT ); Mon, 20 Apr 2015 16:50:39 -0400 MIME-Version: 1.0 In-Reply-To: <465C1C8A-0819-4253-9525-6168CCCA133A@gatech.edu> References: <1429500330.7977.29.camel@intel.com> <465C1C8A-0819-4253-9525-6168CCCA133A@gatech.edu> Date: Mon, 20 Apr 2015 13:50:38 -0700 X-Google-Sender-Auth: SR1Eu3t_tG2THVXD8O5dth2c5AQ Message-ID: Subject: Re: [LKP] [ocfs2] e2ac55b6a8e: ocfs2_init:1612 ERROR: Unable to create ocfs2 debugfs root From: Linus Torvalds To: Chengyu Song , Andrew Morton Cc: Huang Ying , LKML , LKP ML , Mark Fasheh , Joel Becker Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1143 Lines: 26 On Sun, Apr 19, 2015 at 8:45 PM, Chengyu Song wrote: > > As suggested in the patch, -19 (-ENODEV) happens when debugfs is not configured (see include/linux/debugfs.h). So if debugfs is necessary for the functionality, in Kconfig, we should either declare it as a dependency, or auto select it. That makes no sense. If it used to work before that patch, then this is a regression and the patch needs to be reverted. Yes, the old code apparently used to set "o2hb_debug_dir" to an error pointer when debugfs was compiled out, but since debugfs was compiled out, that error pointer was probably never actually *used*. So things presumably worked. Now, it hangs, according to Huang Ying. If so, that's clearly a regression. That means that commit e2ac55b6a8e3 ("ocfs2: incorrect check for debugfs returns") needs to be reverted or fixed. Andrew? Linus -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/