From da83e39ea54cc6dccd0d0c8e2b827da102b90397 Mon Sep 17 00:00:00 2001 From: James Bottomley Date: Tue, 14 Mar 2006 14:24:55 -0600 Subject: [PATCH] --- yaml --- r: 22637 b: refs/heads/master c: e28482c5b24006e9e4a867f9995baf358cbc1059 h: refs/heads/master i: 22635: 286fb3cd7b7831f06a9a8fd4a86feac4b77c423a v: v3 --- [refs] | 2 +- trunk/include/scsi/scsi_device.h | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 4e863a96f894..e869224b08a6 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e5b3a65fd7244e662691cf617145983ecde28cc9 +refs/heads/master: e28482c5b24006e9e4a867f9995baf358cbc1059 diff --git a/trunk/include/scsi/scsi_device.h b/trunk/include/scsi/scsi_device.h index 1ec17ee12815..f2193cd0d31f 100644 --- a/trunk/include/scsi/scsi_device.h +++ b/trunk/include/scsi/scsi_device.h @@ -293,6 +293,11 @@ extern int scsi_execute_async(struct scsi_device *sdev, void (*done)(void *, char *, int, int), gfp_t gfp); +static inline void scsi_device_reprobe(struct scsi_device *sdev) +{ + device_reprobe(&sdev->sdev_gendev); +} + static inline unsigned int sdev_channel(struct scsi_device *sdev) { return sdev->channel;