diff options
author | Steve French <sfrench@us.ibm.com> | 2005-11-13 23:28:58 -0500 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2005-11-13 23:28:58 -0500 |
commit | 7b0a65f9923ffe7885a5473648baaa3a1a701726 (patch) | |
tree | b9be4a0504b4e637b86bdc92d88268ff57ea1bc5 /fs/ext3/inode.c | |
parent | 1b98a8221e3c9c86ae7e292ba7542d2dd6f10eb9 (diff) | |
parent | ee90f62b3e69d0cd9f8edc6b95f07b1a8c38aaf4 (diff) |
Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Diffstat (limited to 'fs/ext3/inode.c')
-rw-r--r-- | fs/ext3/inode.c | 4 |
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 | ||