Re: [PATCH] UBI: take 2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 29 Nov 2006 20:17:26 +0200
Artem Bityutskiy <[email protected]> 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;
_

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux