Skip to contentSkip to conversation

dasd: unexport dasd_set_target_state

PATCH In review Christoph Hellwig 2 participants 4 messages Jun 14, 2021 – Jun 21, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dasd: unexport dasd_set_target_state

dasd_set_target_state is only used inside of dasd_mod.ko, so don't export it.

---
 drivers/s390/block/dasd.c | 1 -
 1 file changed, 1 deletion(-)
drivers/s390/block/dasd.c +0 -1
index c8df75e99f4c..e34c6cc61983 100644
@@ -621,7 +621,6 @@ void dasd_set_target_state(struct dasd_device *device, int target)
 	mutex_unlock(&device->state_mutex);
 	dasd_put_device(device);
 }
-EXPORT_SYMBOL(dasd_set_target_state);
 
 /*
  * Enable devices with device numbers in [from..to].
Signature · 1 line
2.30.2
maintainer
#3 lore raw

Am 21.06.21 um 09:27 schrieb Christoph Hellwig:

Quoted 9 lines · Stefan Haberland
Quoted 7 lines

Am 14.06.21 um 08:04 schrieb Christoph Hellwig:

Quoted 5 lines

dasd_set_target_state is only used inside of dasd_mod.ko, so don't export it.

---

Can you pick this up through the s390 tree?

Sure.
But FYI: I will send it to Jens since we bring DASD patches upstream through the block tree.