exfat: reuse exfat_inode_info variable instead of calling EXFAT_I()
authorChristophe Vu-Brugier <christophe.vu-brugier@seagate.com>
Tue, 2 Nov 2021 21:23:58 +0000 (22:23 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Mar 2022 18:12:31 +0000 (19:12 +0100)
commit1ffc130388c5065d491ca58fb41bc248fd63a2f5
tree431e593aa0c99cc2a45325273751e370c2810fbe
parentab3656acb7b4f33a30970a920ed90f0db36d940b
exfat: reuse exfat_inode_info variable instead of calling EXFAT_I()

[ Upstream commit 7dee6f57d7f22a89dd214518c778aec448270d4c ]

Also add a local "struct exfat_inode_info *ei" variable to
exfat_truncate() to simplify the code.

Signed-off-by: Christophe Vu-Brugier <christophe.vu-brugier@seagate.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/exfat/file.c
fs/exfat/inode.c
fs/exfat/namei.c
fs/exfat/super.c