]> 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)
commited0646ab919afcb12a9fc3dd271f344d7296b2af
tree0c196fd362d03243704a47e69e41c13acd323bd0
parent43f9c15c703e8277444daead10152518bcdefede
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