btrfs-progs: make the search target device routine more clear for fi show
authorGui Hecheng <guihc.fnst@cn.fujitsu.com>
Thu, 30 Oct 2014 02:44:49 +0000 (10:44 +0800)
committerDavid Sterba <dsterba@suse.cz>
Thu, 4 Dec 2014 15:48:12 +0000 (16:48 +0100)
commite7c4e700ffa656af4b221a2068b02b391b0ed817
tree89b2531b7bcb86804fef9010c2ecc4a9016ab5bc
parent63bbf2931df234a0b48bb02264f827ff65f9c44a
btrfs-progs: make the search target device routine more clear for fi show

Extract the procedure of searching for a target device for fi show
from the @map_seed_devices() function to make it more clear.

Signed-off-by: Gui Hecheng <guihc.fnst@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
cmds-filesystem.c