summaryrefslogtreecommitdiffstats
path: root/drivers/atm/uPD98402.h
diff options
context:
space:
mode:
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>2011-04-20 06:44:57 +0000
committerChris Mason <chris.mason@oracle.com>2011-05-23 13:24:41 -0400
commit8233767a227ac5843f1023b88c7272a7b5058f5f (patch)
treee37bb379b90d9754035021ad042de1970a5106fc /drivers/atm/uPD98402.h
parentb083916638eee513be501f53b42a4be0b9851db0 (diff)
downloadblackbird-op-linux-8233767a227ac5843f1023b88c7272a7b5058f5f.tar.gz
blackbird-op-linux-8233767a227ac5843f1023b88c7272a7b5058f5f.zip
Btrfs: allocate extent state and check the result properly
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 Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'drivers/atm/uPD98402.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud