lkml.org 
[lkml]   [2017]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectlinux-next: manual merge of the btrfs-kdave tree with Linus' tree
Hi David,

Today's linux-next merge of the btrfs-kdave tree got a conflict in:

fs/btrfs/scrub.c

between commit:

4e4cbee93d56 ("block: switch bios to blk_status_t")

from Linus' tree and commit:

26397a4ad1d5 ("btrfs: account that we're waiting for IO in scrub_submit_raid56_bio_wait")

from the btrfs-kdave tree.

I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging. You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.

--
Cheers,
Stephen Rothwell

diff --cc fs/btrfs/scrub.c
index 6f1e4c984b94,7bce7b43c48b..000000000000
--- a/fs/btrfs/scrub.c
+++ b/fs/btrfs/scrub.c
@@@ -1704,8 -1704,8 +1704,8 @@@ static int scrub_submit_raid56_bio_wait
if (ret)
return ret;

- wait_for_completion(&done.event);
+ wait_for_completion_io(&done.event);
- if (done.error)
+ if (done.status)
return -EIO;

return 0;

\
 
 \ /
  Last update: 2017-07-24 02:55    [W:0.038 / U:0.696 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site