scsi: ch: add refcounting
authorHannes Reinecke <hare@suse.de>
Tue, 15 Aug 2017 14:28:49 +0000 (16:28 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 25 Aug 2017 02:29:06 +0000 (22:29 -0400)
commit085e56766f74e8fdafb0e988c150e28464747cdc
treec39b67b6fa45d34755453b1f59e1874b189a63a9
parentdb269932b97e8e7d2bc974dc6a63cb795ddd7e54
scsi: ch: add refcounting

struct scsi_changer needs refcounting as the device might be removed
while the fd is still open.

[mkp: whitespace]

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ch.c