[PATCH 0/3] fs/ntfs3: Refactoring of super.c

From: Konstantin Komarov
Date: Mon Sep 27 2021 - 11:46:24 EST


Fix memory leak in ntfs_discard.
Reject mount so we won't corrupt fs.
Refactor ntfs_init_from_boot function.

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