public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: dedekind@infradead.org
Cc: tglx@linutronix.de, haver@vnet.ibm.com,
	Josh Boyer <jwboyer@linux.vnet.ibm.com>,
	arnez@vnet.ibm.com, llinux-mtd@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] UBI: take 2
Date: Thu, 30 Nov 2006 17:06:24 -0800	[thread overview]
Message-ID: <20061130170624.94fde80d.akpm@osdl.org> (raw)
In-Reply-To: <1164824246.576.65.camel@sauron>

On Wed, 29 Nov 2006 20:17:26 +0200
Artem Bityutskiy <dedekind@infradead.org> wrote:

> This is take 2 of the previous mail with David's comments in mind.
> 
> Hello Andrew,
> 
> we have announced UBI several months ago in the MTD mailing list. It was
> successfully used in our setup and we've got positive feedback.
> 
> In short, it is kind of LVM layer but for flash (MTD) devices which
> hides flash devices complexities like bad eraseblocks (on NANDs) and
> wear. The documentation is available at the MTD web site:
> http://www.linux-mtd.infradead.org/doc/ubi.html
> http://www.linux-mtd.infradead.org/faq/ubi.html
> 
> The source code is available at the UBI GIT tree:
> git://git.infradead.org/ubi-2.6.git

Got that, thanks.  It needs a bit of help:

--- a/drivers/mtd/ubi/cdev.c~git-ubi-fix
+++ a/drivers/mtd/ubi/cdev.c
@@ -1185,7 +1185,7 @@ static ssize_t vol_cdev_direct_write(str
 			 len, vol_id, lnum, off);
 
 		err = ubi_eba_write_leb(ubi, vol_id, lnum, tbuf, off, len,
-					UBI_DATA_UNKNOWN, &written, 0, NULL);
+					UBI_DATA_UNKNOWN, &written, NULL);
 		if (unlikely(err)) {
 			count -= written;
 			*offp += written;
_


  reply	other threads:[~2006-12-01  1:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-29 18:17 [PATCH] UBI: take 2 Artem Bityutskiy
2006-12-01  1:06 ` Andrew Morton [this message]
2006-12-01  4:24   ` Josh Boyer
2006-12-01  7:49     ` Artem Bityutskiy
2006-12-01 14:29   ` Artem Bityutskiy

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=20061130170624.94fde80d.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=arnez@vnet.ibm.com \
    --cc=dedekind@infradead.org \
    --cc=haver@vnet.ibm.com \
    --cc=jwboyer@linux.vnet.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llinux-mtd@lists.infradead.org \
    --cc=tglx@linutronix.de \
    /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