aboutsummaryrefslogtreecommitdiffstats
path: root/fs/logfs/dev_mtd.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/logfs/dev_mtd.c')
-rw-r--r--fs/logfs/dev_mtd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/logfs/dev_mtd.c b/fs/logfs/dev_mtd.c
index 68e99d046c23..cafb6ef2e05b 100644
--- a/fs/logfs/dev_mtd.c
+++ b/fs/logfs/dev_mtd.c
@@ -83,7 +83,8 @@ static int mtd_erase_mapping(struct super_block *sb, loff_t ofs, size_t len)
83 return 0; 83 return 0;
84} 84}
85 85
86static int mtd_erase(struct super_block *sb, loff_t ofs, size_t len) 86static int mtd_erase(struct super_block *sb, loff_t ofs, size_t len,
87 int ensure_write)
87{ 88{
88 struct mtd_info *mtd = logfs_super(sb)->s_mtd; 89 struct mtd_info *mtd = logfs_super(sb)->s_mtd;
89 struct erase_info ei; 90 struct erase_info ei;