aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/extents.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext4/extents.c')
-rw-r--r--fs/ext4/extents.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c
index 1ba8b4ab03a8..d86d2622f826 100644
--- a/fs/ext4/extents.c
+++ b/fs/ext4/extents.c
@@ -4456,6 +4456,8 @@ int ext4_ext_map_blocks(handle_t *handle, struct inode *inode,
4456 ar.flags |= EXT4_MB_HINT_NOPREALLOC; 4456 ar.flags |= EXT4_MB_HINT_NOPREALLOC;
4457 if (flags & EXT4_GET_BLOCKS_DELALLOC_RESERVE) 4457 if (flags & EXT4_GET_BLOCKS_DELALLOC_RESERVE)
4458 ar.flags |= EXT4_MB_DELALLOC_RESERVED; 4458 ar.flags |= EXT4_MB_DELALLOC_RESERVED;
4459 if (flags & EXT4_GET_BLOCKS_METADATA_NOFAIL)
4460 ar.flags |= EXT4_MB_USE_RESERVED;
4459 newblock = ext4_mb_new_blocks(handle, &ar, &err); 4461 newblock = ext4_mb_new_blocks(handle, &ar, &err);
4460 if (!newblock) 4462 if (!newblock)
4461 goto out2; 4463 goto out2;