From: Andrew Morton <akpm@linux-foundation.org>
To: mm-commits@vger.kernel.org, willy@infradead.org,
ruansy.fnst@fujitsu.com, jhubbard@nvidia.com, jgg@nvidia.com,
djwong@kernel.org, david@fromorbit.com, dan.j.williams@intel.com,
apopple@nvidia.com, akpm@linux-foundation.org,
akpm@linux-foundation.org
Subject: [folded-merged] fsdax-dax_unshare_iter-should-return-a-valid-length-fix.patch removed from -mm tree
Date: Fri, 03 Feb 2023 17:51:19 -0800 [thread overview]
Message-ID: <20230204015119.DDBEDC433EF@smtp.kernel.org> (raw)
The quilt patch titled
Subject: fsdax-dax_unshare_iter-should-return-a-valid-length-fix
has been removed from the -mm tree. Its filename was
fsdax-dax_unshare_iter-should-return-a-valid-length-fix.patch
This patch was dropped because it was folded into fsdax-dax_unshare_iter-should-return-a-valid-length.patch
------------------------------------------------------
From: Andrew Morton <akpm@linux-foundation.org>
Subject: fsdax-dax_unshare_iter-should-return-a-valid-length-fix
Date: Thu Feb 2 04:15:00 PM PST 2023
don't mess up `ret', per Matthew
Cc: Alistair Popple <apopple@nvidia.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Darrick J. Wong <djwong@kernel.org>
Cc: Dave Chinner <david@fromorbit.com>
Cc: Jason Gunthorpe <jgg@nvidia.com>
Cc: John Hubbard <jhubbard@nvidia.com>
Cc: Shiyang Ruan <ruansy.fnst@fujitsu.com>
Cc: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
--- a/fs/dax.c~fsdax-dax_unshare_iter-should-return-a-valid-length-fix
+++ a/fs/dax.c
@@ -1271,10 +1271,10 @@ static s64 dax_unshare_iter(struct iomap
if (ret < 0)
goto out_unlock;
- ret = copy_mc_to_kernel(daddr, saddr, length);
- if (ret)
+ if (copy_mc_to_kernel(daddr, saddr, length) == 0)
+ ret = length;
+ else
ret = -EIO;
- ret = length;
out_unlock:
dax_read_unlock(id);
_
Patches currently in -mm which might be from akpm@linux-foundation.org are
fsdax-dax_unshare_iter-should-return-a-valid-length.patch
revert-squashfs-harden-sanity-check-in-squashfs_read_xattr_id_table.patch
mm-shrinkers-fix-deadlock-in-shrinker-debugfs-fix.patch
mm-replace-vma-vm_flags-direct-modifications-with-modifier-calls-fix.patch
kasan-infer-allocation-size-by-scanning-metadata-fix.patch
lib-stackdepot-mm-rename-stack_depot_want_early_init-fix.patch
lib-stackdepot-annotate-racy-slab_index-accesses-fix.patch
reply other threads:[~2023-02-04 1:51 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20230204015119.DDBEDC433EF@smtp.kernel.org \
--to=akpm@linux-foundation.org \
--cc=apopple@nvidia.com \
--cc=dan.j.williams@intel.com \
--cc=david@fromorbit.com \
--cc=djwong@kernel.org \
--cc=jgg@nvidia.com \
--cc=jhubbard@nvidia.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mm-commits@vger.kernel.org \
--cc=ruansy.fnst@fujitsu.com \
--cc=willy@infradead.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.