[Btrfs-devel] Transaction counter comes before BUG_ON() check?

Peter Teoh htmldeveloper at gmail.com
Fri Mar 14 21:54:54 PDT 2008


kmem_cache_alloc() can return NULL value.   Shouldn't the transaction
count comes after BUG_ON check for NULL ptr returned by
kmem_cache_alloc()?

Thanks.

-- 
Regards,
Peter Teoh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: total_transaction_count.patch
Type: text/x-patch
Size: 500 bytes
Desc: not available
Url : http://oss.oracle.com/pipermail/btrfs-devel/attachments/20080315/86573358/total_transaction_count.bin


More information about the Btrfs-devel mailing list