xfs
[Top] [All Lists]

Re: [PATCH 10/21] implement generic xfs_btree_decrement

To: Christoph Hellwig <hch@xxxxxx>, xfs@xxxxxxxxxxx
Subject: Re: [PATCH 10/21] implement generic xfs_btree_decrement
From: Christoph Hellwig <hch@xxxxxx>
Date: Fri, 1 Aug 2008 21:40:19 +0200
In-reply-to: <20080730020919.GK13395@disturbed>
References: <20080729193058.GK19104@xxxxxx> <20080730020919.GK13395@disturbed>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.3.28i
On Wed, Jul 30, 2008 at 12:09:19PM +1000, Dave Chinner wrote:
> On Tue, Jul 29, 2008 at 09:30:58PM +0200, Christoph Hellwig wrote:
> > From: Dave Chinner <dgc@xxxxxxx>
> > 
> > [hch: split out from bigger patch and minor adaptions]
> > 
> > Signed-off-by: Christoph Hellwig <hch@xxxxxx>
> ....
> > +   /*
> > +    * If we went off the root then we are seriously confused.
> > +    * or the root of the tree is in an inode.
> > +    */
> > +   if (lev == cur->bc_nlevels) {
> > +           ASSERT(cur->bc_flags & XFS_BTREE_ROOT_IN_INODE);
> > +           goto out0;
> > +   }
> 
> Same question as for the increment case.

Ok, changed.


<Prev in Thread] Current Thread [Next in Thread>
  • Re: [PATCH 10/21] implement generic xfs_btree_decrement, Christoph Hellwig <=