Re: [PATCH] Avoid a NULL pointer in btrfs

From: Josef Bacik
Date: Wed Jan 19 2011 - 09:14:28 EST


On Wed, Jan 19, 2011 at 10:08:13PM +0800, Liuwenyi wrote:
> In Yang Ruirui's mail, the btrfs will create a oops. This is caused by a
> null pointer in test_range_bit() while lock the spinlock.
>
> So, It is necessary to add a pointer check into test_range_bit()
>


NAK, the tree shouldn't be null coming into this function, something else is
going wrong. What oops is this? Thanks,

Josef
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/