All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zhaolei <zhaolei@cn.fujitsu.com>
To: <linux-btrfs@vger.kernel.org>
Cc: Zhao Lei <zhaolei@cn.fujitsu.com>
Subject: [PATCH 6/6] btrfs: Remove unused err = 0 line for raid_rmw_end_io()
Date: Thu, 5 Mar 2015 02:41:12 +0800	[thread overview]
Message-ID: <b06c3a67e588c422ed49024c1a10a42c5a917b5b.1425494151.git.zhaolei@cn.fujitsu.com> (raw)
In-Reply-To: <86557aad51883ada25ace853f10d1474e8db048e.1425494151.git.zhaolei@cn.fujitsu.com>

From: Zhao Lei <zhaolei@cn.fujitsu.com>

Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
---
 fs/btrfs/raid56.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/fs/btrfs/raid56.c b/fs/btrfs/raid56.c
index 2285e78..c087870 100644
--- a/fs/btrfs/raid56.c
+++ b/fs/btrfs/raid56.c
@@ -1464,7 +1464,6 @@ static void raid_rmw_end_io(struct bio *bio, int err)
 	if (!atomic_dec_and_test(&rbio->stripes_pending))
 		return;
 
-	err = 0;
 	if (atomic_read(&rbio->error) > rbio->bbio->max_errors)
 		goto cleanup;
 
-- 
1.8.5.1


      parent reply	other threads:[~2015-03-04 18:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-04 18:41 [PATCH 1/6] btrfs: Fix calculation of rbio->dbitmap's size calculation Zhaolei
2015-03-04 18:41 ` [PATCH 2/6] btrfs: Use unified stripe_page's index calculation Zhaolei
2015-03-04 18:41 ` [PATCH 3/6] btrfs: use rbio->nr_pages to reduce calculation Zhaolei
2015-03-04 18:41 ` [PATCH 4/6] btrfs: Clear PageUptodate bit in alloc_rbio_parity_pages() Zhaolei
2015-03-04 18:41 ` [PATCH 5/6] btrfs: Use raid_write_end_io for scrub Zhaolei
2015-03-04 18:41 ` Zhaolei [this message]

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=b06c3a67e588c422ed49024c1a10a42c5a917b5b.1425494151.git.zhaolei@cn.fujitsu.com \
    --to=zhaolei@cn.fujitsu.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.