OSDN Git Service

btrfs: cleanup error handling in btrfs_unlink_inode()
authorTsutomu Itoh <t-itoh@jp.fujitsu.com>
Thu, 3 Feb 2011 03:16:25 +0000 (03:16 +0000)
committerChris Mason <chris.mason@oracle.com>
Sun, 6 Feb 2011 12:17:45 +0000 (07:17 -0500)
commit554233a6e0e8557e8e81e54cc70628d101291122
tree9cd7c8fe5dddbdd7255192468daa9cc9a48ea208
parent3c14874acc71180553fb5aba528e3cf57c5b958b
btrfs: cleanup error handling in btrfs_unlink_inode()

When btrfs_alloc_path() fails, btrfs_free_path() need not be called.
Therefore, it changes the branch ahead.

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