]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: return error to caller when btrfs_unlink() failes
authorTsutomu Itoh <t-itoh@jp.fujitsu.com>
Tue, 19 Jul 2011 07:27:20 +0000 (07:27 +0000)
committerChris Mason <chris.mason@oracle.com>
Mon, 1 Aug 2011 18:30:42 +0000 (14:30 -0400)
commit07f8810472c02635bf80ed56f3ffb9c96bc6bea0
tree0c196fd362d03243704a47e69e41c13acd323bd0
parent108cf8e0960e65865006b1975eedad0a4604ae11
Btrfs: return error to caller when btrfs_unlink() failes

When btrfs_unlink_inode() and btrfs_orphan_add() in btrfs_unlink()
are error, the error code is returned to the caller instead of
BUG_ON().

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