diff options
Diffstat (limited to 'fs/ext4/extents.c')
| -rw-r--r-- | fs/ext4/extents.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c index a0e623055955..a1e20c8c4e0c 100644 --- a/fs/ext4/extents.c +++ b/fs/ext4/extents.c | |||
| @@ -3202,7 +3202,7 @@ ext4_ext_handle_uninitialized_extents(handle_t *handle, struct inode *inode, | |||
| 3202 | * completed | 3202 | * completed |
| 3203 | */ | 3203 | */ |
| 3204 | if (io) | 3204 | if (io) |
| 3205 | io->flag = EXT4_IO_UNWRITTEN; | 3205 | io->flag = EXT4_IO_END_UNWRITTEN; |
| 3206 | else | 3206 | else |
| 3207 | ext4_set_inode_state(inode, EXT4_STATE_DIO_UNWRITTEN); | 3207 | ext4_set_inode_state(inode, EXT4_STATE_DIO_UNWRITTEN); |
| 3208 | if (ext4_should_dioread_nolock(inode)) | 3208 | if (ext4_should_dioread_nolock(inode)) |
| @@ -3494,7 +3494,7 @@ int ext4_ext_map_blocks(handle_t *handle, struct inode *inode, | |||
| 3494 | */ | 3494 | */ |
| 3495 | if ((flags & EXT4_GET_BLOCKS_PRE_IO)) { | 3495 | if ((flags & EXT4_GET_BLOCKS_PRE_IO)) { |
| 3496 | if (io) | 3496 | if (io) |
| 3497 | io->flag = EXT4_IO_UNWRITTEN; | 3497 | io->flag = EXT4_IO_END_UNWRITTEN; |
| 3498 | else | 3498 | else |
| 3499 | ext4_set_inode_state(inode, | 3499 | ext4_set_inode_state(inode, |
| 3500 | EXT4_STATE_DIO_UNWRITTEN); | 3500 | EXT4_STATE_DIO_UNWRITTEN); |
