summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/ts72xx_wdt.c
diff options
context:
space:
mode:
authorSong Liu <songliubraving@fb.com>2017-07-31 23:52:26 +0200
committerShaohua Li <shli@fb.com>2017-08-08 16:42:36 +0200
commitb44886c54a999771060371c3a05d5fedfc7e2102 (patch)
tree6803f9f24871193e61cecde1e21132006eac6d27 /drivers/watchdog/ts72xx_wdt.c
parentmd: fix test in md_write_start() (diff)
downloadlinux-b44886c54a999771060371c3a05d5fedfc7e2102.tar.xz
linux-b44886c54a999771060371c3a05d5fedfc7e2102.zip
md/r5cache: call mddev_lock/unlock() in r5c_journal_mode_set
In r5c_journal_mode_set(), it is necessary to call mddev_lock() before accessing conf and conf->log. Otherwise, the conf->log may change (and become NULL). Shaohua: fix unlock in failure cases Signed-off-by: Song Liu <songliubraving@fb.com> Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'drivers/watchdog/ts72xx_wdt.c')
0 files changed, 0 insertions, 0 deletions