Files
kernel_google_wahoo/fs
Dongliang Mu 75f5bc0fac JFS: fix memleak in jfs_mount
[ Upstream commit c48a14dca2cb57527dde6b960adbe69953935f10 ]

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:58:40 +01:00
..
2020-11-10 10:22:17 +01:00
2017-12-20 10:04:56 +01:00
2019-08-06 18:28:27 +02:00
2021-07-20 16:22:33 +02:00
2021-07-20 16:22:39 +02:00
2021-11-26 11:58:40 +01:00
2019-03-23 08:44:21 +01:00
2018-12-21 14:09:50 +01:00
2015-11-16 23:54:45 -08:00
2021-02-03 23:16:16 +01:00
2020-04-02 19:02:31 +02:00
2015-11-16 23:54:45 -08:00
2021-02-10 09:07:27 +01:00
2017-06-14 13:16:24 +02:00
2018-02-16 20:09:43 +01:00
2017-06-14 13:16:24 +02:00