]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
fs/ntfs3: out1 also needs to put mi
authorEdward Adam Davis <eadavis@qq.com>
Tue, 11 Nov 2025 11:13:56 +0000 (19:13 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Jan 2026 12:09:30 +0000 (13:09 +0100)
commite910114bdbd8d8b60690c3e591961cf8abb4126a
tree3f3711474243e1fed6f0c3769c6070101612a0f0
parent925e825f0c8e82f1b2ba3219d2f091a47b1bcf97
fs/ntfs3: out1 also needs to put mi

[ Upstream commit 4d78d1173a653acdaf7500a32b8dc530ca4ad075 ]

After ntfs_look_free_mft() executes successfully, all subsequent code
that fails to execute must put mi.

Fixes: 4342306f0f0d ("fs/ntfs3: Add file operations and implementation")
Signed-off-by: Edward Adam Davis <eadavis@qq.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/ntfs3/frecord.c