From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: with ECARTIS (v1.0.0; list xfs); Mon, 04 Jun 2007 01:46:24 -0700 (PDT) Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by oss.sgi.com (8.12.10/8.12.10/SuSE Linux 0.7) with SMTP id l548kJWt029446 for ; Mon, 4 Jun 2007 01:46:20 -0700 Date: Mon, 4 Jun 2007 18:46:08 +1000 From: David Chinner Subject: Re: TAKE 965636 - xfs_setfilesize panics on null xfs_inode Message-ID: <20070604084608.GW85884050@sgi.com> References: <20070604082812.49AF658C38C1@chook.melbourne.sgi.com> <20070604083222.GA16922@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070604083222.GA16922@infradead.org> Sender: xfs-bounce@oss.sgi.com Errors-to: xfs-bounce@oss.sgi.com List-Id: xfs To: Christoph Hellwig Cc: David Chinner , xfs@oss.sgi.com On Mon, Jun 04, 2007 at 09:32:22AM +0100, Christoph Hellwig wrote: > On Mon, Jun 04, 2007 at 06:28:12PM +1000, David Chinner wrote: > > Handle null returned from xfs_vtoi() in xfs_setfilesize(). > > This doesn't make any sense at all. xfs_inodes always live longer than > vnodes. What's the backtrace of the problem you're seeing? The I/O completion handlers are used by CXFS clients as well. Hence we can't assume that the vnode is backed by a xfs_inode.... Cheers, Dave. -- Dave Chinner Principal Engineer SGI Australian Software Group