]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/ext3/inode.c
Merge branch 'module' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux...
[net-next-2.6.git] / fs / ext3 / inode.c
index 5e0faf4cda797800713a335f3c6d3d5d64fcd2c2..ad05353040a12338c1a0c84626abcfc20f96408f 100644 (file)
@@ -1696,8 +1696,8 @@ static int ext3_journalled_writepage(struct page *page,
                 * doesn't seem much point in redirtying the page here.
                 */
                ClearPageChecked(page);
-               ret = block_prepare_write(page, 0, PAGE_CACHE_SIZE,
-                                       ext3_get_block);
+               ret = __block_write_begin(page, 0, PAGE_CACHE_SIZE,
+                                         ext3_get_block);
                if (ret != 0) {
                        ext3_journal_stop(handle);
                        goto out_unlock;