]> git.baikalelectronics.ru Git - kernel.git/commit
block: add reference counting for struct bsg_job
authorJohannes Thumshirn <jthumshirn@suse.de>
Thu, 17 Nov 2016 09:31:18 +0000 (10:31 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 18 Nov 2016 01:15:25 +0000 (20:15 -0500)
commit5ad8ab6c10f105b2734d35d4748e0aa7e8a3c9ef
treeea8d464ada113c1f598589b4c724946f45410716
parenta581bd4a6abd04712f583624932b093fed19469c
block: add reference counting for struct bsg_job

Add reference counting to 'struct bsg_job' so we can implement a reuqest
timeout handler for bsg_jobs, which is needed for Fibre Channel.

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
block/bsg-lib.c
include/linux/bsg-lib.h