]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
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)
committerPaolo Pisati <paolo.pisati@canonical.com>
Wed, 9 Mar 2022 14:17:44 +0000 (15:17 +0100)
commit6f829187826fa666e7bb3ef48f25ba3e9c5f4542
tree24ce36238e1d5639ff1a815aeb664aa0ea08c12f
parent05965726b56b6f910518d29d6a5bdb08e13b6a97
exfat: reuse exfat_inode_info variable instead of calling EXFAT_I()

BugLink: https://bugs.launchpad.net/bugs/1964361
[ 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>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
fs/exfat/file.c
fs/exfat/inode.c
fs/exfat/namei.c
fs/exfat/super.c