aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/inline.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext4/inline.c')
-rw-r--r--fs/ext4/inline.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/ext4/inline.c b/fs/ext4/inline.c
index dfe3b9bafc0d..7cbdd3752ba5 100644
--- a/fs/ext4/inline.c
+++ b/fs/ext4/inline.c
@@ -581,9 +581,10 @@ retry:
581 if (ret) 581 if (ret)
582 goto out; 582 goto out;
583 583
584 if (ext4_should_dioread_nolock(inode)) 584 if (ext4_should_dioread_nolock(inode)) {
585 ret = __block_write_begin(page, from, to, ext4_get_block_write); 585 ret = __block_write_begin(page, from, to,
586 else 586 ext4_get_block_unwritten);
587 } else
587 ret = __block_write_begin(page, from, to, ext4_get_block); 588 ret = __block_write_begin(page, from, to, ext4_get_block);
588 589
589 if (!ret && ext4_should_journal_data(inode)) { 590 if (!ret && ext4_should_journal_data(inode)) {
@@ -1696,7 +1697,6 @@ int ext4_delete_inline_entry(handle_t *handle,
1696 if (err) 1697 if (err)
1697 goto out; 1698 goto out;
1698 1699
1699 BUFFER_TRACE(bh, "call ext4_handle_dirty_metadata");
1700 err = ext4_mark_inode_dirty(handle, dir); 1700 err = ext4_mark_inode_dirty(handle, dir);
1701 if (unlikely(err)) 1701 if (unlikely(err))
1702 goto out; 1702 goto out;