diff options
Diffstat (limited to 'fs/jffs2/writev.c')
-rw-r--r-- | fs/jffs2/writev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jffs2/writev.c b/fs/jffs2/writev.c index b05710fd552a..d0ef068709ad 100644 --- a/fs/jffs2/writev.c +++ b/fs/jffs2/writev.c | |||
@@ -52,7 +52,7 @@ int jffs2_flash_direct_writev(struct jffs2_sb_info *c, const struct kvec *vecs, | |||
52 | } | 52 | } |
53 | 53 | ||
54 | if (c->mtd->writev) | 54 | if (c->mtd->writev) |
55 | return c->mtd->writev(c->mtd, vecs, count, to, retlen); | 55 | return mtd_writev(c->mtd, vecs, count, to, retlen); |
56 | else { | 56 | else { |
57 | return mtd_fake_writev(c->mtd, vecs, count, to, retlen); | 57 | return mtd_fake_writev(c->mtd, vecs, count, to, retlen); |
58 | } | 58 | } |