Commit 1d4b2a4a authored by Ritesh Harjani's avatar Ritesh Harjani Committed by Matthias Männich
Browse files

UPSTREAM: ext4: add ext4_sb_block_valid() refactored out of ext4_inode_block_valid()



commit 6bc6c2bd upstream.

This API will be needed at places where we don't have an inode
for e.g. while freeing blocks in ext4_group_add_blocks()

Suggested-by: default avatarJan Kara <jack@suse.cz>
Signed-off-by: default avatarRitesh Harjani <riteshh@linux.ibm.com>
Link: https://lore.kernel.org/r/dd34a236543ad5ae7123eeebe0cb69e6bdd44f34.1644992610.git.riteshh@linux.ibm.com


Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
Signed-off-by: default avatarTudor Ambarus <tudor.ambarus@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Bug: 237951970
Change-Id: I4a63d1f1c720bce9612600c9c6034ddeda389d01
Signed-off-by: default avatarTudor Ambarus <tudor.ambarus@linaro.org>
parent 8ddbd3df
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment