aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorGuenter Roeck <[email protected]>2016-03-09 02:46:13 +0000
committerWim Van Sebroeck <[email protected]>2016-03-16 20:11:50 +0000
commitd1ed3ba4e3d76b4ebec239c64f990c26d7935700 (patch)
tree841d94b53efd656fef958538bee429f6c1c379de /fs/jbd2/commit.c
parentwatchdog: imx2: Convert to use infrastructure triggered keepalives (diff)
downloadkernel-d1ed3ba4e3d76b4ebec239c64f990c26d7935700.tar.gz
kernel-d1ed3ba4e3d76b4ebec239c64f990c26d7935700.zip
watchdog: Ensure that wdd is not dereferenced if NULL
Smatch rightfully complains that wdd is dereferenced in the watchdog release function after being checked for NULL. Also make sure that it is not accessed outside mutex protection to avoid use-after-free problems. Fixes: e6c71e84e4c0 ("watchdog: Introduce WDOG_HW_RUNNING flag") Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions