From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Mason Subject: Re: [PATCH] Btrfs: do not BUG if we fail to remove the orphan item for dead snapshots Date: Fri, 10 Dec 2010 09:22:41 -0500 Message-ID: <1291990942-sup-2969@think> References: <1291829142-22255-1-git-send-email-josef@redhat.com> <4D01D3BF.2010702@cn.fujitsu.com> <20101210133035.GC1226@dhcp231-156.rdu.redhat.com> Content-Type: text/plain; charset=UTF-8 Cc: Li Zefan , linux-btrfs To: Josef Bacik Return-path: In-reply-to: <20101210133035.GC1226@dhcp231-156.rdu.redhat.com> List-ID: Excerpts from Josef Bacik's message of 2010-12-10 08:30:36 -0500: > On Fri, Dec 10, 2010 at 03:16:15PM +0800, Li Zefan wrote: > > 01:25, Josef Bacik wrote: > > > Not being able to delete an orphan item isn't a horrible thing. The worst that > > > happens is the next time around we try and do the orphan cleanup and we can't > > > find the referenced object and just delete the item and move on. Thanks, > > > > > > > Would be better to add code comment? Otherwise later people may wonder why > > the return value is not checked and see it as a bug. > > > > Comments are against Btrfs' coding style guidlines. But not the new and improved coding style guidelines ;) -chris