diff options
author | 2021-08-24 14:52:36 +0300 | |
---|---|---|
committer | 2021-08-27 17:05:13 +0300 | |
commit | a1b04d380ab64790a7b4a8eb52e14679e47065ab (patch) | |
tree | 144249b4aa9cc6499c0c107204d9d60344be7fd9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | fs/ntfs3: Use kcalloc/kmalloc_array over kzalloc/kmalloc (diff) | |
download | linux-dev-a1b04d380ab64790a7b4a8eb52e14679e47065ab.tar.xz linux-dev-a1b04d380ab64790a7b4a8eb52e14679e47065ab.zip |
fs/ntfs3: add checks for allocation failure
Add a check for when the kzalloc() in init_rsttbl() fails. Some of
the callers checked for NULL and some did not. I went down the call
tree and added NULL checks where ever they were missing.
Fixes: b46acd6a6a62 ("fs/ntfs3: Add NTFS journal")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Kari Argillander <kari.argillander@gmail.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions