aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/jffs2/wbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jffs2/wbuf.c b/fs/jffs2/wbuf.c
index 717fa2f52ac2..dc275cedfe4a 100644
--- a/fs/jffs2/wbuf.c
+++ b/fs/jffs2/wbuf.c
@@ -1151,7 +1151,7 @@ static struct nand_oobinfo jffs2_oobinfo_docecc = {
1151 1151
1152static int jffs2_nand_set_oobinfo(struct jffs2_sb_info *c) 1152static int jffs2_nand_set_oobinfo(struct jffs2_sb_info *c)
1153{ 1153{
1154 struct nand_oobinfo *oinfo = &c->mtd->oobinfo; 1154 struct nand_oobinfo *oinfo = c->mtd->oobinfo;
1155 1155
1156 /* Do this only, if we have an oob buffer */ 1156 /* Do this only, if we have an oob buffer */
1157 if (!c->mtd->oobsize) 1157 if (!c->mtd->oobsize)