All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: linux-ext4@vger.kernel.org
Subject: [Bug 202897] BUG: unable to handle kernel paging request at __memmove
Date: Thu, 21 Mar 2019 00:40:48 +0000	[thread overview]
Message-ID: <bug-202897-13602-4vmrGirSfj@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-202897-13602@https.bugzilla.kernel.org/>

https://bugzilla.kernel.org/show_bug.cgi?id=202897

--- Comment #5 from phoonchiang (389387252@qq.com) ---
it is likely that this patch is more fitable than the last one:

diff --git a/fs/ext4/xattr.c b/fs/ext4/xattr.c
index 86ed9c6..d7fe353 100644
--- a/fs/ext4/xattr.c
+++ b/fs/ext4/xattr.c
@@ -1695,7 +1695,7 @@ static int ext4_xattr_set_entry(struct ext4_xattr_info
*i,

        /* No failures allowed past this point. */

-       if (!s->not_found && here->e_value_size && here->e_value_offs) {
+       if (old_size && here->e_value_size && here->e_value_offs) {
                /* Remove the old value. */
                void *first_val = s->base + min_offs;
                size_t offs = le16_to_cpu(here->e_value_offs);

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

  parent reply	other threads:[~2019-03-21  0:40 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-13  6:51 [Bug 202897] New: BUG: unable to handle kernel paging request at __memmove bugzilla-daemon
2019-03-13  6:51 ` [Bug 202897] " bugzilla-daemon
2019-03-15 14:15 ` bugzilla-daemon
2019-03-15 16:00 ` bugzilla-daemon
2019-03-20  0:23 ` bugzilla-daemon
2019-03-21  0:40 ` bugzilla-daemon [this message]
2019-03-24  5:28 ` bugzilla-daemon
2019-04-05 20:16 ` bugzilla-daemon
2019-04-05 21:37 ` bugzilla-daemon
2019-04-05 22:42 ` bugzilla-daemon

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=bug-202897-13602-4vmrGirSfj@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@bugzilla.kernel.org \
    --cc=linux-ext4@vger.kernel.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.