Re: [PATCH 1/3] btrfs-progs: tests: Move extract_image out of check_all_images for common use

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux