]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9e1153003b92b2b95fd6972201946fe95212f9e2
tree52da5b08a584ac3178f8bd35a5e7333f5a3908e1
parent31ca7300a9a469d45de22557abf8954c4d420e8d
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