Re: [PATCH 2/2] btrfs-progs: fsck-test: Add image for quota verify stack overflow

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

 



On Fri, Oct 07, 2016 at 03:23:00PM +0800, Qu Wenruo wrote:
> +for img in $(find . \( -iname '*.img' -o	\
> +			-iname '*.img.xz' -o 	\
> +			-iname '*.raw' -o 	\
> +			-iname '*.raw.xz' \) | sort)
> +do
> +	image=$(extract_image $img)
> +	run_check $TOP/btrfs check "$image"
> +	rm -f "$image"
> +done

There's a helper that enumerates images and calls 'check_image' on each,
so you should redefine 'check_image' if you don't want to do the default
actions (check, repair and check). Fixed in devel.
--
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