Files
twx-linux/fs
Dongliang Mu a30503f743 JFS: fix memleak in jfs_mount
[ Upstream commit c48a14dca2 ]

In jfs_mount, when diMount(ipaimap2) fails, it goes to errout35. However,
the following code does not free ipaimap2 allocated by diReadSpecial.

Fix this by refactoring the error handling code of jfs_mount. To be
specific, modify the lable name and free ipaimap2 when the above error
ocurrs.

Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Signed-off-by: Dongliang Mu <mudongliangabcd@gmail.com>
Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-11-26 11:36:12 +01:00
..
2020-11-05 11:08:53 +01:00
…
2021-06-30 08:48:14 -04:00
…
…
…
2021-07-20 16:15:46 +02:00
…
2021-09-22 11:48:02 +02:00
2021-07-20 16:16:03 +02:00
…
2021-11-26 11:36:12 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2021-05-22 10:59:50 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…