Don't replace "!" with "/" for cciss until after size calculation
We use /sys/class/block/${tgtdrive}/size to calculate target drive size.
Unlike device files in /dev, paths in /sys have "!" instead of "/", so
the substitution should not be made until we're done with /sys.
Reviewed: https:/ /review. openstack. org/90197 /git.openstack. org/cgit/ stackforge/ fuel-main/ commit/ ?id=a6a6ff80e3c 7cb778403fc5537 e6bd7dc1b992cd
Committed: https:/
Submitter: Jenkins
Branch: master
commit a6a6ff80e3c7cb7 78403fc5537e6bd 7dc1b992cd
Author: Dmitry Borodaenko <email address hidden>
Date: Thu Apr 24 12:03:37 2014 -0700
Don't replace "!" with "/" for cciss until after size calculation
We use /sys/class/ block/$ {tgtdrive} /size to calculate target drive size.
Unlike device files in /dev, paths in /sys have "!" instead of "/", so
the substitution should not be made until we're done with /sys.
Change-Id: If88c311ceb41e6 e3e00ef7e536329 477d4243ea7
Closes-bug: #1312311