linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: manual merge of the aio tree with the vfs tree
@ 2016-03-14  4:32 Stephen Rothwell
  2016-03-14  4:36 ` Stephen Rothwell
  2016-03-14  7:35 ` Christoph Hellwig
  0 siblings, 2 replies; 15+ messages in thread
From: Stephen Rothwell @ 2016-03-14  4:32 UTC (permalink / raw)
  To: Benjamin LaHaise, Al Viro; +Cc: linux-next, linux-kernel, Christoph Hellwig

Hi Benjamin,

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

  fs/read_write.c

between commit:

  793b80ef14af ("vfs: pass a flags argument to vfs_readv/vfs_writev")

from the vfs tree and commit:

  4047629ed53e ("fs: make do_loop_readv_writev() non-static")

from the aio tree.

I fixed it up (see below - thanks to Al for the heads up) and can carry
the fix as necessary (no action is required).

I also added the following merge fix patch:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Mon, 14 Mar 2016 15:28:05 +1100
Subject: [PATCH] vfs: do_loop_readv_writev() API change merge fix

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 fs/internal.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/internal.h b/fs/internal.h
index 3bbe63d5eb5e..39f6e9831c5f 100644
--- a/fs/internal.h
+++ b/fs/internal.h
@@ -139,7 +139,7 @@ extern long prune_dcache_sb(struct super_block *sb, struct shrink_control *sc);
  */
 extern int rw_verify_area(int, struct file *, const loff_t *, size_t);
 extern ssize_t do_loop_readv_writev(struct file *filp, struct iov_iter *iter,
-				    loff_t *ppos, io_fn_t fn);
+				    loff_t *ppos, io_fn_t fn, int flags);
 
 
 /*
-- 
2.7.0

-- 
Cheers,
Stephen Rothwell

diff --cc fs/read_write.c
index cf377cf9dfe3,36344ff2991c..000000000000
--- a/fs/read_write.c
+++ b/fs/read_write.c
@@@ -713,8 -665,8 +710,8 @@@ static ssize_t do_iter_readv_writev(str
  }
  
  /* Do it by hand, with file-ops */
- static ssize_t do_loop_readv_writev(struct file *filp, struct iov_iter *iter,
- 		loff_t *ppos, io_fn_t fn, int flags)
+ ssize_t do_loop_readv_writev(struct file *filp, struct iov_iter *iter,
 -		loff_t *ppos, io_fn_t fn)
++		loff_t *ppos, io_fn_t fn , int flags)
  {
  	ssize_t ret = 0;
  

^ permalink raw reply related	[flat|nested] 15+ messages in thread
* linux-next: manual merge of the aio tree with the vfs tree
@ 2016-03-15  4:06 Stephen Rothwell
  2016-03-15  4:34 ` Al Viro
  0 siblings, 1 reply; 15+ messages in thread
From: Stephen Rothwell @ 2016-03-15  4:06 UTC (permalink / raw)
  To: Benjamin LaHaise, Al Viro; +Cc: linux-next, linux-kernel

Hi Ben,

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

  fs/namei.c

between commit:

  5955102c9984 ("wrappers for ->i_mutex access")

from the vfs tree and commit:

  5d3d80fcf992 ("aio: add support for in-submit openat")

from the aio tree.

I fixed it up (see below) and can carry the fix as necessary (no action
is required).

-- 
Cheers,
Stephen Rothwell

diff --cc fs/namei.c
index 794f81dce766,260782f5a868..000000000000
--- a/fs/namei.c
+++ b/fs/namei.c
@@@ -3125,9 -3079,15 +3125,15 @@@ retry_lookup
  		 * dropping this one anyway.
  		 */
  	}
+ 
+ 	if (nd->flags & LOOKUP_NONBLOCK) {
+ 		error = -EAGAIN;
+ 		goto out;
+ 	}
+ 		
 -	mutex_lock(&dir->d_inode->i_mutex);
 +	inode_lock(dir->d_inode);
  	error = lookup_open(nd, &path, file, op, got_write, opened);
 -	mutex_unlock(&dir->d_inode->i_mutex);
 +	inode_unlock(dir->d_inode);
  
  	if (error <= 0) {
  		if (error)

^ permalink raw reply	[flat|nested] 15+ messages in thread
* linux-next: manual merge of the aio tree with the vfs tree
@ 2017-09-11  1:29 Stephen Rothwell
  0 siblings, 0 replies; 15+ messages in thread
From: Stephen Rothwell @ 2017-09-11  1:29 UTC (permalink / raw)
  To: Benjamin LaHaise, Al Viro
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Deepa Dinamani

Hi Benjamin,

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

  fs/aio.c

between commit:

  32ec9f249d65 ("io_getevents: Use timespec64 to represent timeouts")

from the vfs tree and commit:

  eb5263749f68 ("aio: handle integer overflow in io_getevents() timespec usage")

from the aio tree.

I fixed it up (I just dropped the change in the latter commit) 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

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2017-09-11  1:29 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-14  4:32 linux-next: manual merge of the aio tree with the vfs tree Stephen Rothwell
2016-03-14  4:36 ` Stephen Rothwell
2016-03-14  4:41   ` Stephen Rothwell
2016-03-14  7:35 ` Christoph Hellwig
2016-03-14 15:24   ` Benjamin LaHaise
2016-03-15  5:35     ` Al Viro
2016-03-15 13:24       ` Benjamin LaHaise
2016-03-15  8:37     ` Christoph Hellwig
2016-03-15  4:06 Stephen Rothwell
2016-03-15  4:34 ` Al Viro
2016-03-15  4:53   ` Stephen Rothwell
2016-03-15  5:07   ` Al Viro
2016-03-15  5:19     ` Al Viro
2016-03-15 13:12       ` Benjamin LaHaise
2017-09-11  1:29 Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).