aboutsummaryrefslogtreecommitdiffstats
path: root/lib/timerqueue.c
diff options
context:
space:
mode:
authorDavid Sterba <[email protected]>2017-01-06 13:12:51 +0000
committerDavid Sterba <[email protected]>2017-01-09 10:24:50 +0000
commitac0c7cf8be00f269f82964cf7b144ca3edc5dbc4 (patch)
treeec90457b5fe8979eeb3f3d63cc6131ed53b1f735 /lib/timerqueue.c
parentbtrfs: limit async_work allocation and worker func duration (diff)
downloadkernel-ac0c7cf8be00f269f82964cf7b144ca3edc5dbc4.tar.gz
kernel-ac0c7cf8be00f269f82964cf7b144ca3edc5dbc4.zip
btrfs: fix crash when tracepoint arguments are freed by wq callbacks
Enabling btrfs tracepoints leads to instant crash, as reported. The wq callbacks could free the memory and the tracepoints started to dereference the members to get to fs_info. The proposed fix https://marc.info/?l=linux-btrfs&m=148172436722606&w=2 removed the tracepoints but we could preserve them by passing only the required data in a safe way. Fixes: bc074524e123 ("btrfs: prefix fsid to all trace events") CC: [email protected] # 4.8+ Reported-by: Sebastian Andrzej Siewior <[email protected]> Reviewed-by: Qu Wenruo <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions