fs/ntfs3: Fix double free on remount
authorKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Wed, 11 May 2022 16:58:36 +0000 (19:58 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Aug 2022 09:40:17 +0000 (11:40 +0200)
commit78e4aebc35b3e4494a96ffe7534db7201aba869f
treeb6364790b4e97f74ff8433ee95006d69cfbd4f0a
parent8feb848579157a5ac676c9a9aa26c5e0ac41e56c
fs/ntfs3: Fix double free on remount

commit cd39981fb92adf0cc736112f87e3e61602baa415 upstream.

Pointer to options was freed twice on remount
Fixes xfstest generic/361
Fixes: 82cae269cfa9 ("fs/ntfs3: Add initialization of super block")
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ntfs3/super.c