Files
linux/fs/jfs
Dongliang Mu b6980a2c6b 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>
2023-05-16 12:15:09 +09:00
..
2023-05-16 11:26:21 +09:00
2016-01-22 18:04:28 -05:00
2006-10-02 09:55:27 -05:00
2008-05-13 08:22:10 -05:00
2016-03-30 10:48:28 -05:00
2013-06-29 12:56:42 +04:00
2013-06-05 14:47:19 -05:00
2006-10-02 09:55:27 -05:00
2016-03-30 10:48:28 -05:00
2007-04-26 07:30:29 -05:00
2011-03-31 11:26:23 -03:00
2023-05-16 12:15:09 +09:00
2013-06-05 14:47:19 -05:00
2006-10-02 09:55:27 -05:00
2006-10-02 09:55:27 -05:00
2009-02-02 13:43:28 -06:00
2017-06-14 15:06:00 +02:00