]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
ext4: remove ext4_{ind,ext}_calc_metadata_amount()
authorEric Biggers <ebiggers@google.com>
Tue, 31 Dec 2019 18:04:37 +0000 (12:04 -0600)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 17 Jan 2020 21:24:54 +0000 (16:24 -0500)
commitdd6683e6efad2339894575da46bc519646e37c24
treee0ae52b2f9d75b460492dad0260b7bc1fc8857d7
parentfd5fe2535642982af695f2f77bb7dba5d4aa6aa5
ext4: remove ext4_{ind,ext}_calc_metadata_amount()

Remove the ext4_ind_calc_metadata_amount() and
ext4_ext_calc_metadata_amount() functions, which have been unused since
commit 71d4f7d03214 ("ext4: remove metadata reservation checks").

Also remove the i_da_metadata_calc_last_lblock and
i_da_metadata_calc_len fields from struct ext4_inode_info, as these were
only used by these removed functions.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Link: https://lore.kernel.org/r/20191231180444.46586-2-ebiggers@kernel.org
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Ritesh Harjani <riteshh@linux.ibm.com>
Reviewed-by: Jan Kara <jack@suse.cz>
fs/ext4/ext4.h
fs/ext4/extents.c
fs/ext4/indirect.c
fs/ext4/super.c