Fix memory leak in ntfs_discard. Reject mount so we won't corrupt fs. Refactor ntfs_init_from_boot function. v2: Fixed wrong patch 1/3. Merged two changes to the same piece of code. Konstantin Komarov (3): fs/ntfs3: Fix memory leak if fill_super failed fs/ntfs3: Reject mount if boot's cluster size < media sector size fs/ntfs3: Refactoring of ntfs_init_from_boot fs/ntfs3/ntfs_fs.h | 2 -- fs/ntfs3/super.c | 36 +++++++++++++++++++++++++----------- 2 files changed, 25 insertions(+), 13 deletions(-) -- 2.33.0