On Thu, Jun 26, 2014 at 10:53:05AM +0800, Gui Hecheng wrote:
> @@ -2521,6 +2521,9 @@ int main(int argc, char *argv[])
>       }
>  
>       argc = argc - optind;
> +     if (argc < 2)

Please use the check_argc_min helper instead. Thanks.

> +             print_usage();
> +
>       dev_cnt = argc - 1;
>  
>       if (create) {
--
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

Reply via email to