From: Filipe Brandenburger Date: Fri, 30 Nov 2012 03:40:09 +0000 (+0000) Subject: Btrfs: refactor error handling to drop inode in btrfs_create() X-Git-Tag: v3.8-rc1~71^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43baa579b3b1f059f68c51ef754ec59c87a35745;p=pandora-kernel.git Btrfs: refactor error handling to drop inode in btrfs_create() Refactor it by checking whether the inode has been created and needs to be dropped (drop_inode_on_err) and also if the err variable is set. That way the variable doesn't need to be set on each and every error handling block. Signed-off-by: Filipe Brandenburger Signed-off-by: Chris Mason --- Reading git-diff-tree failed