Searched hist:a1b04d380ab64790a7b4a8eb52e14679e47065ab (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/ntfs3/ |
H A D | fslog.c | diff a1b04d380ab64790a7b4a8eb52e14679e47065ab Tue Aug 24 06:52:36 CDT 2021 Dan Carpenter <dan.carpenter@oracle.com> 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>
|