On Fri, Sep 04, 2015 at 09:23:49PM +0800, Zhao Lei wrote: > Move code for extract image file to a function from check_all_images() > for common use, so caller can use this function to extrace single > image file.
Moving the code to a wrapper is good but return value via a variable is not. The function is string-to-string, so it can just echo it at the end. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html