]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/jffs2/wbuf.c
fs: jffs2: make jffs2 work zero oobavail
[karo-tx-linux.git] / fs / jffs2 / wbuf.c
index a6597d60d76de751224243ddfe6d990cd6de7e87..b5f218903d7bf826db8aa8f06b1f543ddf24f6d1 100644 (file)
@@ -1200,7 +1200,7 @@ int jffs2_nand_flash_setup(struct jffs2_sb_info *c)
        /* Cleanmarker is out-of-band, so inline size zero */
        c->cleanmarker_size = 0;
 
-       if (!oinfo || oinfo->oobavail == 0) {
+       if (!oinfo /* || oinfo->oobavail == 0 */) {
                pr_err("inconsistent device description\n");
                return -EINVAL;
        }