diff options
Diffstat (limited to 'fs/ext4')
-rw-r--r-- | fs/ext4/mballoc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c index e4b4ac1ec684..3d9277c48bc8 100644 --- a/fs/ext4/mballoc.c +++ b/fs/ext4/mballoc.c | |||
@@ -4634,6 +4634,7 @@ do_more: | |||
4634 | */ | 4634 | */ |
4635 | new_entry = kmem_cache_alloc(ext4_free_data_cachep, GFP_NOFS); | 4635 | new_entry = kmem_cache_alloc(ext4_free_data_cachep, GFP_NOFS); |
4636 | if (!new_entry) { | 4636 | if (!new_entry) { |
4637 | ext4_mb_unload_buddy(&e4b); | ||
4637 | err = -ENOMEM; | 4638 | err = -ENOMEM; |
4638 | goto error_return; | 4639 | goto error_return; |
4639 | } | 4640 | } |