Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751242AbWANOBd (ORCPT ); Sat, 14 Jan 2006 09:01:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751290AbWANOBd (ORCPT ); Sat, 14 Jan 2006 09:01:33 -0500 Received: from zeniv.linux.org.uk ([195.92.253.2]:31880 "EHLO ZenIV.linux.org.uk") by vger.kernel.org with ESMTP id S1751242AbWANOBc (ORCPT ); Sat, 14 Jan 2006 09:01:32 -0500 Date: Sat, 14 Jan 2006 14:01:22 +0000 From: Al Viro To: Andrew Morton Cc: "P. Christeas" , hch@lst.de, linux-kernel@vger.kernel.org, raven@themaw.net Subject: Re: Regression in Autofs, 2.6.15-git Message-ID: <20060114140122.GK27946@ftp.linux.org.uk> References: <200601140217.56724.p_christ@hol.gr> <200601141350.31033.p_christ@hol.gr> <20060114035456.3f50b0d8.akpm@osdl.org> <200601141456.55530.p_christ@hol.gr> <20060114051737.6e49dffe.akpm@osdl.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060114051737.6e49dffe.akpm@osdl.org> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 699 Lines: 13 On Sat, Jan 14, 2006 at 05:17:37AM -0800, Andrew Morton wrote: > You oopsed accessing 0x00000030, and offsetof(super_block, s_flags) is > 0x30. So autofs4 has passed in a dentry which has a NULL > dentry->d_inode->i_sb and the new code didn't expect that. It's not just new code... inode->i_sb should _never_ be NULL, period. We set it immediately after memory had been allocated by alloc_inode() and never modify afterwards, let alone reset to NULL. - 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/