diff options
author | 2012-11-12 14:03:45 +0100 | |
---|---|---|
committer | 2012-12-12 17:15:33 -0500 | |
commit | beaf8ab3afef27ed81255d9808b67f6d390ca06f (patch) | |
tree | 674adcea3790a7c5c047d43d81e71cdcb34b9738 /fs/btrfs/print-tree.c | |
parent | Btrfs: cleanup scrub bio and worker wait code (diff) | |
download | linux-dev-beaf8ab3afef27ed81255d9808b67f6d390ca06f.tar.xz linux-dev-beaf8ab3afef27ed81255d9808b67f6d390ca06f.zip |
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 <sbehrens@giantdisaster.de>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'fs/btrfs/print-tree.c')
0 files changed, 0 insertions, 0 deletions