]> err.no Git - linux-2.6/blobdiff - fs/gfs2/ops_file.c
ext[234]: use ext[234]_get_group_desc()
[linux-2.6] / fs / gfs2 / ops_file.c
index d7f4726ae0ce17e4a0f01bb9373df27897bcd165..f4842f2548cdb8c55346836aab9f287370e4e9f1 100644 (file)
@@ -394,6 +394,7 @@ static int gfs2_page_mkwrite(struct vm_area_struct *vma, struct page *page)
        last_index = ip->i_inode.i_size >> PAGE_CACHE_SHIFT;
        if (page->index > last_index)
                goto out_unlock_page;
+       ret = 0;
        if (!PageUptodate(page) || page->mapping != ip->i_inode.i_mapping)
                goto out_unlock_page;
        if (gfs2_is_stuffed(ip)) {