Re: [PATCH] Btrfs-progs: add correct indentation

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

 



On Fri, Feb 22, 2013 at 02:59:24PM +0800, Anand Jain wrote:
> --- a/utils.c
> +++ b/utils.c
> @@ -1192,12 +1192,13 @@ scan_again:
>  		return -ENOENT;
>  	}
>  	/* skip the header */
> -	for(i=0; i < 2 ; i++)
> -		if(!fgets(buf, 1023, proc_partitions)){
> -		fprintf(stderr, "Unable to read '/proc/partitions' for scanning\n");
> -		fclose(proc_partitions);
> -		return -ENOENT;
> -	}
> +	for (i=0; i < 2 ; i++)

	for (i = 0; i < 2; i++)

If possible, It's good to fix these issues in one go, I'll fix it locally.

david
--
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