Re: [PATCH] Btrfs: avoid NULL deref after failed allocation

2008-10-02 Thread Andi Kleen
Jim Meyering [EMAIL PROTECTED] writes:

 However, in some places, the trend is
 to BUG_ON(!ptr), so I've done that, too.

Even if it's a trend, it's wrong.  Better don't add more. 
And also unnecessary because next reference will obviously oops anyways.

-Andi
--
To unsubscribe from this list: send the line unsubscribe linux-btrfs in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Kernel crashes when mounting btrfs filesystem when using latest git btrfs trunk.

2008-10-02 Thread Harley Peters
On Fri, 03 Oct 2008 03:31:34 +0800
Zheng Yan [EMAIL PROTECTED] wrote:

 
 Please pull btrfs-progs from the latest git.
 
 Thanks
 Yan Zheng
 --
 To unsubscribe from this list: send the line unsubscribe
 linux-btrfs in the body of a message to [EMAIL PROTECTED]
 More majordomo info at  http://vger.kernel.org/majordomo-info.html

Looks like I missed the latest commit to btrfs-progs. Any way it works
now.
Sorry for wasting your time.

Harley
--
To unsubscribe from this list: send the line unsubscribe linux-btrfs in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html