Btrfs: return error code to caller when btrfs_del_item fails
authorTsutomu Itoh <t-itoh@jp.fujitsu.com>
Thu, 19 May 2011 04:37:44 +0000 (04:37 +0000)
committerChris Mason <chris.mason@oracle.com>
Mon, 23 May 2011 17:24:39 +0000 (13:24 -0400)
commit65a246c5ffe3b487a001de025816326939e63362
tree52da5b08a584ac3178f8bd35a5e7333f5a3908e1
parentb0b802d7e34b0b4a78f911c3a8aad88aa91fd7ab
Btrfs: return error code to caller when btrfs_del_item fails

The error code is returned instead of calling BUG_ON when
btrfs_del_item returns the error.

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