]> err.no Git - linux-2.6/blobdiff - fs/jffs2/jffs2_fs_sb.h
[PATCH] VFS: Permit filesystem to perform statfs with a known root dentry
[linux-2.6] / fs / jffs2 / jffs2_fs_sb.h
index 67529f0a44dd86e51e6ccefe2bf962d1f8e72aae..935fec1b1201bdea3cfa25a0cf665ea6f69ed028 100644 (file)
@@ -26,9 +26,6 @@ struct jffs2_inodirty;
 struct jffs2_sb_info {
        struct mtd_info *mtd;
 
-       struct jffs2_raw_node_ref *refs;
-       int reserved_refs;
-
        uint32_t highest_ino;
        uint32_t checked_ino;
 
@@ -103,6 +100,7 @@ struct jffs2_sb_info {
 #ifdef CONFIG_JFFS2_FS_WRITEBUFFER
        /* Write-behind buffer for NAND flash */
        unsigned char *wbuf;
+       unsigned char *oobbuf;
        uint32_t wbuf_ofs;
        uint32_t wbuf_len;
        struct jffs2_inodirty *wbuf_inodes;
@@ -110,7 +108,7 @@ struct jffs2_sb_info {
        struct rw_semaphore wbuf_sem;   /* Protects the write buffer */
 
        /* Information about out-of-band area usage... */
-       struct nand_oobinfo *oobinfo;
+       struct nand_ecclayout *ecclayout;
        uint32_t badblock_pos;
        uint32_t fsdata_pos;
        uint32_t fsdata_len;