summaryrefslogtreecommitdiff
path: root/fs/9p
diff options
context:
space:
mode:
authorQu Wenruo <quwenruo@cn.fujitsu.com>2016-01-22 09:28:38 +0800
committerChris Mason <clm@fb.com>2016-01-25 16:50:26 -0800
commit0a95b851370b84a4b9d92ee6d1fa0926901d0454 (patch)
tree961bebab8ad070e86c3e5600e3617d28104a16b5 /fs/9p
parentde0ee0edb21fbab4c7afa3e94573ecfebfb0244e (diff)
btrfs: async-thread: Fix a use-after-free error for trace
Parameter of trace_btrfs_work_queued() can be freed in its workqueue. So no one use use that pointer after queue_work(). Fix the user-after-free bug by move the trace line before queue_work(). Reported-by: Dave Jones <davej@codemonkey.org.uk> Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/9p')
0 files changed, 0 insertions, 0 deletions