On Wed, Aug 05, 2015 at 04:32:26PM +0800, Zhao Lei wrote: > Scrub output following error message in my test: > ERROR: scrubbing /var/ltf/tester/scratch_mnt failed for device id 5 > (Success) > > It is caused by a broken kernel and fs,
In what way is it broken? Can we turn it into tests? > but the we need to avoid > outputting both "error and success" in oneline message as above. > > This patch modified above message to: > ERROR: scrubbing /var/ltf/tester/scratch_mnt failed for device id 5, ret=1, > errno=0(Success) The net effect of the patch is to add ret=.. and errno=.. to the error message but it also changes a series of ifs to a switch. This belongs to a separate patch. -- 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