diff options
author | Baokun Li <libaokun1@huawei.com> | 2023-04-24 06:38:42 +0300 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2023-06-27 02:35:12 +0300 |
commit | 2a69c450083db164596c75c0f5b4d9c4c0e18eba (patch) | |
tree | fe07582984fd3f3a9cc3f07c9e9cbb5c4e3b5338 /fs/ext4/inline.c | |
parent | 4a2d98447b37bcb68a7f06a1078edcb4f7e6ce7e (diff) | |
download | linux-2a69c450083db164596c75c0f5b4d9c4c0e18eba.tar.xz |
ext4: using nofail preallocation in ext4_es_insert_extent()
Similar to in ext4_es_insert_delayed_block(), we use preallocations that
do not fail to avoid inconsistencies, but we do not care about es that are
not must be kept, and we return 0 even if such es memory allocation fails.
Suggested-by: Jan Kara <jack@suse.cz>
Signed-off-by: Baokun Li <libaokun1@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20230424033846.4732-9-libaokun1@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/inline.c')
0 files changed, 0 insertions, 0 deletions