Searched hist:d2250f105f18a43fdab17421bd80b0ffc9fcc53f (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/md/ |
H A D | raid5-cache.c | diff d2250f105f18a43fdab17421bd80b0ffc9fcc53f Thu Dec 15 00:38:02 CET 2016 Song Liu <songliubraving@fb.com> md/r5cache: assign conf->log before r5l_load_log()
r5l_load_log() calls functions that requires a proper conf->log, for example, r5c_is_writeback(). Therefore, we should set conf->log before calling r5l_load_log(). If r5l_load_log() fails, conf->log is set back to NULL.
Signed-off-by: Song Liu <songliubraving@fb.com> Signed-off-by: Shaohua Li <shli@fb.com>
|