From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759345Ab0DBHqh (ORCPT ); Fri, 2 Apr 2010 03:46:37 -0400 Received: from 0122700014.0.fullrate.dk ([95.166.99.235]:44054 "EHLO kernel.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758120Ab0DBHqa (ORCPT ); Fri, 2 Apr 2010 03:46:30 -0400 Date: Fri, 2 Apr 2010 09:46:29 +0200 From: Jens Axboe To: Anton Blanchard Cc: Andrew Morton , linux-kernel@vger.kernel.org Subject: Re: [PATCH] backing-dev: Handle class_create() failure Message-ID: <20100402074628.GB23510@kernel.dk> References: <20100402072749.GG5594@kryten> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100402072749.GG5594@kryten> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 02 2010, Anton Blanchard wrote: > > I hit this when we had a bug in IDR for a few days. Basically sysfs would > fail to create new inodes since it uses an IDR and therefore class_create would > fail. > > While we are unlikely to see this fail we may as well handle it instead of > oopsing. Thanks Anton, applied. -- Jens Axboe