f2fs: compress: reduce one page array alloc and free when write compressed page
[linux-2.6-microblaze.git] / fs / f2fs / data.c
index 9f754aa..d8190e8 100644 (file)
@@ -2987,6 +2987,7 @@ static int f2fs_write_cache_pages(struct address_space *mapping,
                .rpages = NULL,
                .nr_rpages = 0,
                .cpages = NULL,
+               .valid_nr_cpages = 0,
                .rbuf = NULL,
                .cbuf = NULL,
                .rlen = PAGE_SIZE * F2FS_I(inode)->i_cluster_size,