ext2: remove ext2_new_block()
authorYe Bin <yebin10@huawei.com>
Tue, 15 Aug 2023 11:26:09 +0000 (19:26 +0800)
committerJan Kara <jack@suse.cz>
Wed, 16 Aug 2023 15:35:08 +0000 (17:35 +0200)
commit2445a8a1922b46c56189203f7fdc1e1cb2a47cdd
treeef3ed45d1299a96c39d76eb8b9afce1cc5b2dd24
parente88076348425b7d0491c8c98d8732a7df8de7aa3
ext2: remove ext2_new_block()

Now, only xattr allocate block use ext2_new_block(), so just opencode it in
the xattr code.

Signed-off-by: Ye Bin <yebin10@huawei.com>
Message-Id: <20230815112612.221145-2-yebin10@huawei.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/ext2/balloc.c
fs/ext2/ext2.h
fs/ext2/xattr.c