diff options
author | Ding Xiang <dingxiang@cmss.chinamobile.com> | 2019-09-09 16:29:56 +0800 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2019-09-11 16:11:45 +0200 |
commit | 97f024b9171e74c4443bbe8a8dce31b917f97ac5 (patch) | |
tree | e9270122b31d9d5a1e9d28f5c7e6bb0c8ce35ec3 /mm | |
parent | 0be0bfd2de9dfdd2098a9c5b14bdd8f739c9165d (diff) | |
download | linux-97f024b9171e74c4443bbe8a8dce31b917f97ac5.tar.bz2 |
ovl: Fix dereferencing possible ERR_PTR()
if ovl_encode_real_fh() fails, no memory was allocated
and the error in the error-valued pointer should be returned.
Fixes: 9b6faee07470 ("ovl: check ERR_PTR() return value from ovl_encode_fh()")
Signed-off-by: Ding Xiang <dingxiang@cmss.chinamobile.com>
Cc: <stable@vger.kernel.org> # v4.16+
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions