Searched refs:wasprim (Results 1 – 2 of 2) sorted by relevance
1345 int wasprim; in ctl_backend_ramdisk_modify() local1371 wasprim = (cbe_lun->flags & CTL_LUN_FLAG_PRIMARY); in ctl_backend_ramdisk_modify()1382 if (wasprim != (cbe_lun->flags & CTL_LUN_FLAG_PRIMARY)) { in ctl_backend_ramdisk_modify()
2914 int error, wasprim; in ctl_be_block_modify() local2941 wasprim = (cbe_lun->flags & CTL_LUN_FLAG_PRIMARY); in ctl_be_block_modify()2952 if (wasprim != (cbe_lun->flags & CTL_LUN_FLAG_PRIMARY)) { in ctl_be_block_modify()