diff options
author | 2016-12-14 15:38:02 -0800 | |
---|---|---|
committer | 2017-01-05 11:44:38 -0800 | |
commit | d2250f105f18a43fdab17421bd80b0ffc9fcc53f (patch) | |
tree | 78237de8dc0bbec061524097bbf36a741a498f83 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | md/r5cache: simplify handling of sh->log_start in recovery (diff) | |
download | wireguard-linux-d2250f105f18a43fdab17421bd80b0ffc9fcc53f.tar.xz wireguard-linux-d2250f105f18a43fdab17421bd80b0ffc9fcc53f.zip |
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>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions