From mboxrd@z Thu Jan 1 00:00:00 1970 From: Li Zefan Subject: Re: [PATCH v6 2/8] btrfs scrub: added unverified_errors Date: Mon, 25 Jul 2011 15:11:55 +0800 Message-ID: <4E2D173B.4040302@cn.fujitsu.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: chris.mason@oracle.com, linux-btrfs@vger.kernel.org To: Jan Schmidt Return-path: In-Reply-To: List-ID: > + 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.