]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
xfs: remove redundant set null for ip->i_itemp
authorLong Li <leo.lilong@huawei.com>
Thu, 5 Mar 2026 08:49:21 +0000 (16:49 +0800)
committerCarlos Maiolino <cem@kernel.org>
Tue, 10 Mar 2026 08:39:53 +0000 (09:39 +0100)
commitf1d77b863b414586ee45e10d9837c9ab27d8692d
treeef9cd77e9c6dc3061e1fd0f7739025f347a0c7a4
parent54fcd2f95f8d216183965a370ec69e1aab14f5da
xfs: remove redundant set null for ip->i_itemp

ip->i_itemp has been set null in xfs_inode_item_destroy(), so there is
no need set it null again in xfs_inode_free_callback().

Signed-off-by: Long Li <leo.lilong@huawei.com>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/xfs_icache.c