aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext3/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext3/inode.c')
-rw-r--r--fs/ext3/inode.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/ext3/inode.c b/fs/ext3/inode.c
index 5d9b00e28837..8824e84f8a56 100644
--- a/fs/ext3/inode.c
+++ b/fs/ext3/inode.c
@@ -1384,8 +1384,10 @@ static int ext3_journalled_writepage(struct page *page,
1384 ClearPageChecked(page); 1384 ClearPageChecked(page);
1385 ret = block_prepare_write(page, 0, PAGE_CACHE_SIZE, 1385 ret = block_prepare_write(page, 0, PAGE_CACHE_SIZE,
1386 ext3_get_block); 1386 ext3_get_block);
1387 if (ret != 0) 1387 if (ret != 0) {
1388 ext3_journal_stop(handle);
1388 goto out_unlock; 1389 goto out_unlock;
1390 }
1389 ret = walk_page_buffers(handle, page_buffers(page), 0, 1391 ret = walk_page_buffers(handle, page_buffers(page), 0,
1390 PAGE_CACHE_SIZE, NULL, do_journal_get_write_access); 1392 PAGE_CACHE_SIZE, NULL, do_journal_get_write_access);
1391 1393