summaryrefslogtreecommitdiff
path: root/fs/sysv/ialloc.c
diff options
context:
space:
mode:
authorKonstantin Komarov <almaz.alexandrovich@paragon-software.com>2021-09-28 19:00:30 +0300
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>2021-10-11 19:17:48 +0300
commit9b75450d6c580100611743fa7e690ea3cb47cd4a (patch)
treec935bd4610c25cfc0ceb7451f76ff009a2704e93 /fs/sysv/ialloc.c
parentce46ae0c3e31400dc89d1e4620a812647cab9c72 (diff)
downloadlinux-9b75450d6c580100611743fa7e690ea3cb47cd4a.tar.xz
fs/ntfs3: Fix memory leak if fill_super failed
In ntfs_init_fs_context we allocate memory in fc->s_fs_info. In case of failed mount we must free it in ntfs_fill_super. We can't do it in ntfs_fs_free, because ntfs_fs_free called with fc->s_fs_info == NULL. fc->s_fs_info became NULL in sget_fc. Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'fs/sysv/ialloc.c')
0 files changed, 0 insertions, 0 deletions