From: Stefan Behrens Date: Mon, 12 Nov 2012 13:03:45 +0000 (+0100) Subject: Btrfs: move some common code into a subfunction X-Git-Tag: v3.8-rc1~71^2~75 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=beaf8ab3afef27ed81255d9808b67f6d390ca06f;p=pandora-kernel.git Btrfs: move some common code into a subfunction Some code to open block devices, to read the superblock and to handle errors was repeated multiple times in 3 places, and the following patch makes use of it as well. This code is now moved into a subfunction. Signed-off-by: Stefan Behrens Signed-off-by: Chris Mason --- Reading git-diff-tree failed