ocfs2: Support creation of unwritten extents
[safe/jmp/linux-2.6] / fs / ocfs2 / aops.c
index 8af9233..ec8b606 100644 (file)
@@ -1136,7 +1136,7 @@ static int ocfs2_write_cluster(struct address_space *mapping,
                 */
                tmp_pos = cpos;
                ret = ocfs2_do_extend_allocation(OCFS2_SB(inode->i_sb), inode,
-                                                &tmp_pos, 1, wc->w_di_bh,
+                                                &tmp_pos, 1, 0, wc->w_di_bh,
                                                 wc->w_handle, data_ac,
                                                 meta_ac, NULL);
                /*