Peter Teoh
2008-Mar-14 22:01 UTC
[Btrfs-devel] extent_io.c: kmem_cache_alloc() return value check
kmem_cache_alloc() only return two possible value: NULL for error, and non-NULL for valid pointer. IS_ERR() check for return value is not right, I guessed? -- Regards, Peter Teoh -------------- next part -------------- A non-text attachment was scrubbed... Name: wrong_is_err_check1.patch Type: text/x-patch Size: 412 bytes Desc: not available Url : http://oss.oracle.com/pipermail/btrfs-devel/attachments/20080315/49d545a9/wrong_is_err_check1.bin