numam-spdk/lib/ftl
Claire J. In 3be9febdf9 lib/ftl: check for null
Fixes #726.
This prevents a segmentation fault by checking the pointer
before accessing it.

Change-Id: I18a3776fbcd6242c6efd1b88044debaa88c7342f
Signed-off-by: Claire J. In <claire.in@circuitblvd.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/449591
Reviewed-by: wuzhouhui <wuzhouhui@kingsoft.com>
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2019-04-02 08:22:48 +00:00
..
ftl_anm.c check_format: Verify #include syntax 2019-01-29 00:12:07 +00:00
ftl_anm.h check_format: Verify #include syntax 2019-01-29 00:12:07 +00:00
ftl_band.c lib/ftl: Keep DMA buffer for metadata as part of ftl_md structure 2019-04-02 00:04:58 +00:00
ftl_band.h lib/ftl: Keep DMA buffer for metadata as part of ftl_md structure 2019-04-02 00:04:58 +00:00
ftl_core.c lib/ftl: Keep DMA buffer for metadata as part of ftl_md structure 2019-04-02 00:04:58 +00:00
ftl_core.h lib/ftl: retrieve caching bdev from configuration 2019-03-29 04:42:48 +00:00
ftl_debug.c ftl: Initial implementation 2019-01-11 09:15:39 +00:00
ftl_debug.h ftl: Initial implementation 2019-01-11 09:15:39 +00:00
ftl_init.c lib/ftl: retrieve caching bdev from configuration 2019-03-29 04:42:48 +00:00
ftl_io.c lib/ftl: check for null 2019-04-02 08:22:48 +00:00
ftl_io.h lib/ftl: Internal IO retry mechanism in case ENOMEM from nvme layer 2019-03-28 14:17:11 +00:00
ftl_ppa.h ftl: Initial implementation 2019-01-11 09:15:39 +00:00
ftl_reloc.c lib/ftl: check for null 2019-04-02 08:22:48 +00:00
ftl_reloc.h check_format: Verify #include syntax 2019-01-29 00:12:07 +00:00
ftl_restore.c lib/ftl: Fix memory leak in restore module 2019-03-18 16:33:49 +00:00
ftl_rwb.c lib/ftl: Fix size of write buffer submission queue 2019-02-22 19:13:40 +00:00
ftl_rwb.h ftl: Added trace support 2019-01-18 18:58:04 +00:00
ftl_trace.c lib/ftl: traces refactor 2019-04-01 09:05:33 +00:00
ftl_trace.h lib/ftl: traces refactor 2019-04-01 09:05:33 +00:00
Makefile ftl: Added trace support 2019-01-18 18:58:04 +00:00