ocfs2: Read from an unwritten extent returns zeros
[powerpc.git] / fs / ocfs2 / inode.c
index 78c99b5..310049b 100644 (file)
@@ -1105,7 +1105,8 @@ struct buffer_head *ocfs2_bread(struct inode *inode,
                return NULL;
        }
 
-       tmperr = ocfs2_extent_map_get_blocks(inode, block, &p_blkno, NULL);
+       tmperr = ocfs2_extent_map_get_blocks(inode, block, &p_blkno, NULL,
+                                            NULL);
        if (tmperr < 0) {
                mlog_errno(tmperr);
                goto fail;