]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit41393a564e9cb7b00a9af1c6b21932ff9b27ee7d
tree4114e9136e6d930bbdb00dcff01cc96085e5ff6a
parentef0317c3714526045e1a91d169f62931874f126f
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