]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/ext3/inode.c
Merge branch 'topic/ca0106' into for-linus
[linux-2.6-omap-h63xx.git] / fs / ext3 / inode.c
index c4bdccf976b59a6d8988b05273dc4df2162e125e..5fa453b49a649dd63e681c042742320b6f54a0bf 100644 (file)
@@ -1161,7 +1161,7 @@ static int ext3_write_begin(struct file *file, struct address_space *mapping,
        to = from + len;
 
 retry:
-       page = __grab_cache_page(mapping, index);
+       page = grab_cache_page_write_begin(mapping, index, flags);
        if (!page)
                return -ENOMEM;
        *pagep = page;