aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gdb/vmlinux-gdb.py
diff options
context:
space:
mode:
authorHannes Reinecke <[email protected]>2016-04-26 06:06:58 +0000
committerMartin K. Petersen <[email protected]>2016-05-22 18:53:06 +0000
commiteb72d0bb84eee5d0dc3044fd17b75e7101dabb57 (patch)
tree746f6c67d19372ca2b336027a4e5b1f8d8be6e62 /scripts/gdb/vmlinux-gdb.py
parentscsi_lib: correctly retry failed zero length REQ_TYPE_FS commands (diff)
downloadkernel-eb72d0bb84eee5d0dc3044fd17b75e7101dabb57.tar.gz
kernel-eb72d0bb84eee5d0dc3044fd17b75e7101dabb57.zip
sd: get disk reference in sd_check_events()
sd_check_events() is called asynchronously, and might race with device removal. So always take a disk reference when processing the event to avoid the device being removed while the event is processed. Signed-off-by: Hannes Reinecke <[email protected]> Reviewed-by: Ewan D. Milne <[email protected]> Reviewed-by: Bart Van Assche <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions