summaryrefslogtreecommitdiffstats
path: root/fs/jffs2/writev.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2011-12-23 17:59:12 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2012-01-09 19:25:34 +0100
commitb0a31f7b2a668f00a8d0546dfeed65fac871b2da (patch)
tree7379a66d9bfd6ae067f090f1bebac5d47332f5cb /fs/jffs2/writev.c
parentmtd: introduce mtd_lock_user_prot_reg interface (diff)
downloadlinux-b0a31f7b2a668f00a8d0546dfeed65fac871b2da.tar.xz
linux-b0a31f7b2a668f00a8d0546dfeed65fac871b2da.zip
mtd: introduce mtd_writev interface
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'fs/jffs2/writev.c')
-rw-r--r--fs/jffs2/writev.c2
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,
}
if (c->mtd->writev)
- return c->mtd->writev(c->mtd, vecs, count, to, retlen);
+ return mtd_writev(c->mtd, vecs, count, to, retlen);
else {
return mtd_fake_writev(c->mtd, vecs, count, to, retlen);
}