summaryrefslogtreecommitdiff
path: root/drivers/vdpa/mlx5/core/mr.c
diff options
context:
space:
mode:
authorDongliang Mu <mudongliangabcd@gmail.com>2021-09-04 05:37:41 +0300
committerDave Kleikamp <dave.kleikamp@oracle.com>2021-09-23 17:52:01 +0300
commitc48a14dca2cb57527dde6b960adbe69953935f10 (patch)
tree159c8bf6643ddbcb80970c8d090f72f41d3a29c5 /drivers/vdpa/mlx5/core/mr.c
parent58e2cf5d794616b84f591d4d1276c8953278ce24 (diff)
downloadlinux-c48a14dca2cb57527dde6b960adbe69953935f10.tar.xz
JFS: fix memleak in jfs_mount
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: 1da177e4c3f4 ("Linux-2.6.12-rc2") Signed-off-by: Dongliang Mu <mudongliangabcd@gmail.com> Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Diffstat (limited to 'drivers/vdpa/mlx5/core/mr.c')
0 files changed, 0 insertions, 0 deletions