public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
* linux-next: manual merge of the block tree with the mm-hotfixes tree
@ 2023-02-13  0:33 Stephen Rothwell
  0 siblings, 0 replies; only message in thread
From: Stephen Rothwell @ 2023-02-13  0:33 UTC (permalink / raw)
  To: Jens Axboe, Andrew Morton
  Cc: David Howells, Linux Kernel Mailing List, Linux Next Mailing List,
	Qian Yingjin

[-- Attachment #1: Type: text/plain, Size: 1258 bytes --]

Hi all,

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

  mm/filemap.c

between commit:

  cfecbdbbbd86 ("mm/filemap: fix page end in filemap_get_read_batch")

from the mm-hotfixes tree and commit:

  cd119d2fa647 ("mm: Pass info, not iter, into filemap_get_pages() and unstatic it")

from the block 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 mm/filemap.c
index 0e20a8d6dd93,6970be64a3e0..000000000000
--- a/mm/filemap.c
+++ b/mm/filemap.c
@@@ -2588,8 -2591,7 +2591,8 @@@ int filemap_get_pages(struct kiocb *ioc
  	struct folio *folio;
  	int err = 0;
  
 +	/* "last_index" is the index of the page beyond the end of the read */
- 	last_index = DIV_ROUND_UP(iocb->ki_pos + iter->count, PAGE_SIZE);
+ 	last_index = DIV_ROUND_UP(iocb->ki_pos + count, PAGE_SIZE);
  retry:
  	if (fatal_signal_pending(current))
  		return -EINTR;

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-02-13  0:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-13  0:33 linux-next: manual merge of the block tree with the mm-hotfixes tree Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox