Re: [PATCH] btrfs: checking NULL or not in some functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



(2011/02/02 14:07), Chris Samuel wrote:
> On 01/02/11 20:17, Tsutomu Itoh wrote:
> 
>> Because NULL is returned when the memory allocation fails,
>> it is checked whether it is NULL. 
> 
> Were the callers modified to cope with these functions
> returning -ENOMEM ?

I have not modified it yet. Currently, there is a case that becomes
BUG_ON() or BUG().
I think that it is our future work to decrease BUG_ON().

Thanks,
Itoh

> 
> cheers,
> Chris (way behind with email)

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux