From: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
To: Gabor Juhos <juhosg@openwrt.org>
Cc: linux-mtd@lists.infradead.org,
David Woodhouse <dwmw2@infradead.org>,
stable@vger.kernel.org
Subject: Re: [PATCH] mtd: block2mtd: fix recursive call of mtd_writev
Date: Thu, 24 May 2012 10:48:39 +0300 [thread overview]
Message-ID: <1337845719.15137.71.camel@sauron.fi.intel.com> (raw)
In-Reply-To: <1337811443-2603-1-git-send-email-juhosg@openwrt.org>
[-- Attachment #1: Type: text/plain, Size: 762 bytes --]
On Thu, 2012-05-24 at 00:17 +0200, Gabor Juhos wrote:
> The 'mtd_writev' interface calls the function assigned
> to the '_write' field of a given mtd device if that is
> not NULL. The block2mtd driver sets the '_writev' field
> to the 'mtd_writev' function itself and thus causes a
> endless loop.
>
> This is caused by 1dbebd32562b3c2caeca35960e5cb00bfcc12900
> (mtd: harmonize mtd_writev usage).
>
> Remove the assignment from the block2mtd driver to fix the
> issue.
>
> Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
> Cc: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
> Cc: stable@vger.kernel.org
Amended the "stable" tag and pushed to l2-mtd.git, thanks:
Cc: stable@kernel.org [3.3+]
--
Best Regards,
Artem Bityutskiy
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2012-05-24 7:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-23 22:17 [PATCH] mtd: block2mtd: fix recursive call of mtd_writev Gabor Juhos
2012-05-24 7:48 ` Artem Bityutskiy [this message]
2012-05-24 8:50 ` Gabor Juhos
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=1337845719.15137.71.camel@sauron.fi.intel.com \
--to=artem.bityutskiy@linux.intel.com \
--cc=dwmw2@infradead.org \
--cc=juhosg@openwrt.org \
--cc=linux-mtd@lists.infradead.org \
--cc=stable@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox