bnx2i: Make boot_nic entry visible in the sysfs session objects
authorTej Parkash <tej.parkash@qlogic.com>
Mon, 19 May 2014 11:32:13 +0000 (07:32 -0400)
committerChristoph Hellwig <hch@lst.de>
Tue, 16 Sep 2014 16:14:12 +0000 (09:14 -0700)
Signed-off-by: Tej Parkash <tej.parkash@qlogic.com>
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Acked-by: Eddie Wai <eddie.wai@broadcom.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/bnx2i/bnx2i_iscsi.c

index 40e22497d2498a4452ed211bcd08372d59c7b909..7a36388822aab7241baab2bbe0c751ce1526a384 100644 (file)
@@ -2235,6 +2235,9 @@ static umode_t bnx2i_attr_is_visible(int param_type, int param)
                case ISCSI_PARAM_TGT_RESET_TMO:
                case ISCSI_PARAM_IFACE_NAME:
                case ISCSI_PARAM_INITIATOR_NAME:
+               case ISCSI_PARAM_BOOT_ROOT:
+               case ISCSI_PARAM_BOOT_NIC:
+               case ISCSI_PARAM_BOOT_TARGET:
                        return S_IRUGO;
                default:
                        return 0;