]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: add ext4_sb_block_valid() refactored out of ext4_inode_block_valid()
authorRitesh Harjani <riteshh@linux.ibm.com>
Wed, 16 Feb 2022 07:02:49 +0000 (12:32 +0530)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 26 Feb 2022 02:34:56 +0000 (21:34 -0500)
commit90ebaf9f296423d6b291d17bab48bc2255476761
treeeae3e902570dcacfa85057eb01b063ed32b333b3
parent1604f25e2832473e01b5808322ae83aac8608979
ext4: add ext4_sb_block_valid() refactored out of ext4_inode_block_valid()

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: Jan Kara <jack@suse.cz>
Signed-off-by: Ritesh Harjani <riteshh@linux.ibm.com>
Link: https://lore.kernel.org/r/dd34a236543ad5ae7123eeebe0cb69e6bdd44f34.1644992610.git.riteshh@linux.ibm.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/block_validity.c
fs/ext4/ext4.h