diff options
Diffstat (limited to 'fs/ext4/inode.c')
-rw-r--r-- | fs/ext4/inode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c index 536067bcf75b..ecac8c5a6f5c 100644 --- a/fs/ext4/inode.c +++ b/fs/ext4/inode.c | |||
@@ -5120,7 +5120,7 @@ static int ext4_do_update_inode(handle_t *handle, | |||
5120 | EXT4_FEATURE_RO_COMPAT_LARGE_FILE); | 5120 | EXT4_FEATURE_RO_COMPAT_LARGE_FILE); |
5121 | sb->s_dirt = 1; | 5121 | sb->s_dirt = 1; |
5122 | ext4_handle_sync(handle); | 5122 | ext4_handle_sync(handle); |
5123 | err = ext4_handle_dirty_metadata(handle, inode, | 5123 | err = ext4_handle_dirty_metadata(handle, NULL, |
5124 | EXT4_SB(sb)->s_sbh); | 5124 | EXT4_SB(sb)->s_sbh); |
5125 | } | 5125 | } |
5126 | } | 5126 | } |
@@ -5149,7 +5149,7 @@ static int ext4_do_update_inode(handle_t *handle, | |||
5149 | } | 5149 | } |
5150 | 5150 | ||
5151 | BUFFER_TRACE(bh, "call ext4_handle_dirty_metadata"); | 5151 | BUFFER_TRACE(bh, "call ext4_handle_dirty_metadata"); |
5152 | rc = ext4_handle_dirty_metadata(handle, inode, bh); | 5152 | rc = ext4_handle_dirty_metadata(handle, NULL, bh); |
5153 | if (!err) | 5153 | if (!err) |
5154 | err = rc; | 5154 | err = rc; |
5155 | ext4_clear_inode_state(inode, EXT4_STATE_NEW); | 5155 | ext4_clear_inode_state(inode, EXT4_STATE_NEW); |
@@ -5701,7 +5701,7 @@ static int ext4_pin_inode(handle_t *handle, struct inode *inode) | |||
5701 | err = jbd2_journal_get_write_access(handle, iloc.bh); | 5701 | err = jbd2_journal_get_write_access(handle, iloc.bh); |
5702 | if (!err) | 5702 | if (!err) |
5703 | err = ext4_handle_dirty_metadata(handle, | 5703 | err = ext4_handle_dirty_metadata(handle, |
5704 | inode, | 5704 | NULL, |
5705 | iloc.bh); | 5705 | iloc.bh); |
5706 | brelse(iloc.bh); | 5706 | brelse(iloc.bh); |
5707 | } | 5707 | } |