From: David Sterba <dsterba@suse.cz>
To: Anand Jain <anand.jain@oracle.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: [PATCH] Btrfs-progs: add correct indentation
Date: Wed, 27 Feb 2013 16:45:04 +0100 [thread overview]
Message-ID: <20130227154504.GH27541@twin.jikos.cz> (raw)
In-Reply-To: <1361516364-25810-1-git-send-email-anand.jain@oracle.com>
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
next prev parent reply other threads:[~2013-02-27 15:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-22 6:59 [PATCH] Btrfs-progs: add correct indentation Anand Jain
2013-02-27 15:45 ` David Sterba [this message]
2013-02-28 1:52 ` Anand Jain
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130227154504.GH27541@twin.jikos.cz \
--to=dsterba@suse.cz \
--cc=anand.jain@oracle.com \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.