From: Li Zefan <lizf@cn.fujitsu.com>
To: Jan Schmidt <list.btrfs@jan-o-sch.net>
Cc: chris.mason@oracle.com, linux-btrfs@vger.kernel.org
Subject: Re: [PATCH v6 2/8] btrfs scrub: added unverified_errors
Date: Mon, 25 Jul 2011 15:11:55 +0800 [thread overview]
Message-ID: <4E2D173B.4040302@cn.fujitsu.com> (raw)
In-Reply-To: <a0d21041d2cdeb4960e800fa015c616cd9853790.1311332399.git.list.btrfs@jan-o-sch.net>
> + spin_lock(&sdev->stat_lock);
> + ++sdev->stat.read_errors;
> + spin_unlock(&sdev->stat_lock);
Normally we write "i++" instead of "++i" if the return value is
ignored.
next prev parent reply other threads:[~2011-07-25 7:11 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-22 11:03 [PATCH v6 0/8] Btrfs scrub: print path to corrupted files and trigger nodatasum fixup Jan Schmidt
2011-07-22 11:03 ` [PATCH v6 1/8] btrfs: added helper functions to iterate backrefs Jan Schmidt
2011-07-22 11:03 ` [PATCH v6 2/8] btrfs scrub: added unverified_errors Jan Schmidt
2011-07-25 7:11 ` Li Zefan [this message]
2011-07-25 7:38 ` Jan Schmidt
2011-07-22 11:03 ` [PATCH v6 3/8] btrfs scrub: print paths of corrupted files Jan Schmidt
2011-07-22 11:03 ` [PATCH v6 4/8] btrfs scrub: bugfix: mirror_num off by one Jan Schmidt
2011-07-22 11:03 ` [PATCH v6 5/8] btrfs: add mirror_num to extent_read_full_page Jan Schmidt
2011-07-22 11:03 ` [PATCH v6 6/8] btrfs scrub: use int for mirror_num, not u64 Jan Schmidt
2011-07-22 11:03 ` [PATCH v6 7/8] btrfs scrub: add fixup code for errors on nodatasum files Jan Schmidt
2011-07-22 11:03 ` [PATCH v6 8/8] btrfs: new ioctls to do logical->inode and inode->path resolving Jan Schmidt
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=4E2D173B.4040302@cn.fujitsu.com \
--to=lizf@cn.fujitsu.com \
--cc=chris.mason@oracle.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=list.btrfs@jan-o-sch.net \
/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.