* linux-next: manual merge of the f2fs tree with the mm tree
@ 2023-06-16 0:25 Stephen Rothwell
2023-06-16 5:52 ` Christoph Hellwig
0 siblings, 1 reply; 2+ messages in thread
From: Stephen Rothwell @ 2023-06-16 0:25 UTC (permalink / raw)
To: Jaegeuk Kim, Andrew Morton
Cc: Christoph Hellwig, Linux Kernel Mailing List,
Linux Next Mailing List, Lu Hongfei, Yangtao Li
[-- Attachment #1: Type: text/plain, Size: 1308 bytes --]
Hi all,
Today's linux-next merge of the f2fs tree got a conflict in:
fs/f2fs/file.c
between commit:
0d625446d0a4 ("backing_dev: remove current->backing_dev_info")
from the mm tree and commit:
d61812691182 ("f2fs: enable nowait async buffered writes")
from the f2fs 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/f2fs/file.c
index 7134fe8bd008,41e7c2b80f31..000000000000
--- a/fs/f2fs/file.c
+++ b/fs/f2fs/file.c
@@@ -4514,12 -4535,12 +4535,9 @@@ static ssize_t f2fs_buffered_write_iter
struct inode *inode = file_inode(file);
ssize_t ret;
- if (iocb->ki_flags & IOCB_NOWAIT)
- return -EOPNOTSUPP;
-
- current->backing_dev_info = inode_to_bdi(inode);
ret = generic_perform_write(iocb, from);
- current->backing_dev_info = NULL;
if (ret > 0) {
- iocb->ki_pos += ret;
f2fs_update_iostat(F2FS_I_SB(inode), inode,
APP_BUFFERED_IO, ret);
}
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: linux-next: manual merge of the f2fs tree with the mm tree
2023-06-16 0:25 linux-next: manual merge of the f2fs tree with the mm tree Stephen Rothwell
@ 2023-06-16 5:52 ` Christoph Hellwig
0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2023-06-16 5:52 UTC (permalink / raw)
To: Stephen Rothwell
Cc: Jaegeuk Kim, Andrew Morton, Christoph Hellwig,
Linux Kernel Mailing List, Linux Next Mailing List, Lu Hongfei,
Yangtao Li
The merge looks good to me, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-06-16 5:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-16 0:25 linux-next: manual merge of the f2fs tree with the mm tree Stephen Rothwell
2023-06-16 5:52 ` Christoph Hellwig
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).