X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fjffs2%2Fwritev.c;h=7e46e952d9329018e736d6e8d1f87415e8e9d505;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=80cd3820373f745b4515d3369cec0a2c83640b48;hpb=db216c3d5e4c040e557a50f8f5d35d5c415e8c1c;p=linux-2.6.git diff --git a/fs/jffs2/writev.c b/fs/jffs2/writev.c index 80cd38203..7e46e952d 100644 --- a/fs/jffs2/writev.c +++ b/fs/jffs2/writev.c @@ -7,7 +7,7 @@ * * For licensing information, see the file 'LICENCE' in this directory. * - * $Id: writev.c,v 1.4 2003/10/04 08:33:07 dwmw2 Exp $ + * $Id: writev.c,v 1.5 2004/07/13 08:58:25 dwmw2 Exp $ * */ @@ -18,7 +18,7 @@ /* This ought to be in core MTD code. All registered MTD devices without writev should have this put in place. Bug the MTD maintainer */ -static inline int mtd_fake_writev(struct mtd_info *mtd, const struct iovec *vecs, +static inline int mtd_fake_writev(struct mtd_info *mtd, const struct kvec *vecs, unsigned long count, loff_t to, size_t *retlen) { unsigned long i; @@ -39,7 +39,7 @@ static inline int mtd_fake_writev(struct mtd_info *mtd, const struct iovec *vecs return ret; } -int jffs2_flash_direct_writev(struct jffs2_sb_info *c, const struct iovec *vecs, +int jffs2_flash_direct_writev(struct jffs2_sb_info *c, const struct kvec *vecs, unsigned long count, loff_t to, size_t *retlen) { if (c->mtd->writev)