lkml.org 
[lkml]   [2011]   [Apr]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] Btrfs: allocate extent state and check the result properly
On 04/12/2011 04:14 PM, Xiao Guangrong wrote:
> It doesn't allocate extent_state and check the result properly:
> - in set_extent_bit, it doesn't allocate extent_state if the path is not
> allowed wait
>
> - in clear_extent_bit, it doesn't check the result after atomic-ly allocate,
> we trigger BUG_ON() if it's fail
>
> - if allocate fail, we trigger BUG_ON instead of returning -ENOMEM since
> the return value of clear_extent_bit() is ignored by many callers
>

Ping...to see what happened. :-)


\
 
 \ /
  Last update: 2011-04-19 03:51    [W:0.528 / U:0.884 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site