From: Tej Parkash Date: Mon, 19 May 2014 11:32:13 +0000 (-0400) Subject: bnx2i: Make boot_nic entry visible in the sysfs session objects X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7c160fac54d81999e1a6df288d77b156705b36f9;p=linux-beck.git bnx2i: Make boot_nic entry visible in the sysfs session objects Signed-off-by: Tej Parkash Signed-off-by: Vikas Chaudhary Reviewed-by: Mike Christie Acked-by: Eddie Wai Signed-off-by: Christoph Hellwig --- diff --git a/drivers/scsi/bnx2i/bnx2i_iscsi.c b/drivers/scsi/bnx2i/bnx2i_iscsi.c index 40e22497d249..7a36388822aa 100644 --- a/drivers/scsi/bnx2i/bnx2i_iscsi.c +++ b/drivers/scsi/bnx2i/bnx2i_iscsi.c @@ -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;