From: Stefan Behrens Date: Fri, 23 Aug 2013 08:34:43 +0000 (+0200) Subject: Btrf: cleanup: don't check for root_refs == 0 twice X-Git-Tag: v3.12-rc1~40^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23fa76b0ba78b7d84708d9ee683587d8a5bbceef;p=pandora-kernel.git Btrf: cleanup: don't check for root_refs == 0 twice btrfs_read_fs_root_no_name() already checks if btrfs_root_refs() is zero and returns ENOENT in this case. There is no need to do it again in three more places. Signed-off-by: Stefan Behrens Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed