check_dis(c|k)_change(|d): duplicated code

2001-01-27 Thread Yann Droneaud
I was looking up linux code to find why /proc/partitions report 'hdc' instead of 'ide/host0/bus1/target0/lun0/cd' example: major minor #blocks name 8 01048575 scsi/host0/bus0/target6/lun0/disc 3 03140928 ide/host0/bus0/target0/lun0/disc 3 1 4000

check_dis(c|k)_change(|d): duplicated code

2001-01-27 Thread Yann Droneaud
I was looking up linux code to find why /proc/partitions report 'hdc' instead of 'ide/host0/bus1/target0/lun0/cd' example: major minor #blocks name 8 01048575 scsi/host0/bus0/target6/lun0/disc 3 03140928 ide/host0/bus0/target0/lun0/disc 3 1 4000