From: Stefan Behrens Date: Mon, 5 Nov 2012 13:42:30 +0000 (+0100) Subject: Btrfs: add two more find_device() methods X-Git-Tag: v3.8-rc1~71^2~74 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ba15b7d211846c187a7c5dc75a5964476f8bc89;p=pandora-kernel.git Btrfs: add two more find_device() methods The new function btrfs_find_device_missing_or_by_path() will be used for the device replace procedure. This function itself calls the second new function btrfs_find_device_by_path(). Unfortunately, it is not possible to currently make the rest of the code use these functions as well, since all functions that look similar at first view are all a little bit different in what they are doing. But in the future, new code could benefit from these two new functions, and currently, device replace uses them. Signed-off-by: Stefan Behrens Signed-off-by: Chris Mason --- Reading git-diff-tree failed