ext4: factor out ext4_fill_raw_inode()
authorZhang Yi <yi.zhang@huawei.com>
Wed, 1 Sep 2021 02:09:53 +0000 (10:09 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 4 Nov 2021 14:33:25 +0000 (10:33 -0400)
commit664bd38b9cbed11689a9b7ce8b7db2e57b7b9e23
tree4114e9136e6d930bbdb00dcff01cc96085e5ff6a
parent0f2f87d51aebcf71a709b52f661d681594c7dffa
ext4: factor out ext4_fill_raw_inode()

Factor out ext4_fill_raw_inode() from ext4_do_update_inode(), which is
use to fill the in-mem inode contents into the inode table buffer, in
preparation for initializing the exclusive inode buffer without reading
the block in __ext4_get_inode_loc().

Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20210901020955.1657340-2-yi.zhang@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/inode.c