btrfs: cleanup error handling in btrfs_unlink_inode()
diff mbox

Message ID 4D4A1E09.10901@jp.fujitsu.com
State New, archived
Headers show

Commit Message

Tsutomu Itoh Feb. 3, 2011, 3:16 a.m. UTC
None

Patch
diff mbox

diff -urNp linux-2.6.38-rc3/fs/btrfs/inode.c linux-2.6.38-rc3.test/fs/btrfs/inode.c
--- linux-2.6.38-rc3/fs/btrfs/inode.c	2011-02-01 12:05:49.000000000 +0900
+++ linux-2.6.38-rc3.test/fs/btrfs/inode.c	2011-02-03 11:25:47.000000000 +0900
@@ -2641,7 +2641,7 @@  int btrfs_unlink_inode(struct btrfs_tran
 	path = btrfs_alloc_path();
 	if (!path) {
 		ret = -ENOMEM;
-		goto err;
+		goto out;
 	}
 
 	path->leave_spinning = 1;