• D
    nodedev: Fix sysfs paths for vport operations · b31ef773
    Dave Allan 提交于
    Some kernels, such as the one used in RHEL-5, have vport_create and
    vport_delete operation files in /sys/class/scsi_host/hostN directory
    instead of /sys/class/fc_host/hostN. Let's check both paths for
    compatibility reasons.
    
    This also removes unnecessary '/' characters from sysfs paths containing
    LINUX_SYSFS_FC_HOST_PREFIX.
    b31ef773
node_device_driver.h 2.8 KB