Btrfs: check return value of btrfs_inc_extent_ref()
authorTsutomu Itoh <t-itoh@jp.fujitsu.com>
Thu, 28 Apr 2011 09:18:21 +0000 (09:18 +0000)
committerChris Mason <chris.mason@oracle.com>
Mon, 23 May 2011 17:24:40 +0000 (13:24 -0400)
commit37daa4f968e9470ae9f30e246a5781717c598271
treea9b7366069150ab3f8e5bc85c475c6194c5fabdf
parentc00e9493f1412621c8665a707d63e32b0768f572
Btrfs: check return value of btrfs_inc_extent_ref()

If return value of btrfs_inc_extent_ref() is not 0, BUG() is called.

Signed-off-by: Tsutomu Itoh <t-itoh@jp.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/tree-log.c