Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 815a1130 authored by Theodore Ts'o's avatar Theodore Ts'o
Browse files

ext4: remove ext4_new_blocks() and call ext4_mb_new_blocks() directly



There was only one caller of the compatibility function
ext4_new_blocks(), in balloc.c's ext4_alloc_blocks().  Change it to
call ext4_mb_new_blocks() directly, and remove ext4_new_blocks()
altogether.  This cleans up the code, by removing two extra functions
from the call chain, and hopefully saving some stack usage.

Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent 8e1a4857
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment