diff options
author | Tej Parkash <tej.parkash@qlogic.com> | 2014-05-19 07:32:13 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-09-16 12:14:12 -0400 |
commit | 7c160fac54d81999e1a6df288d77b156705b36f9 (patch) | |
tree | 357696f969390fe53a423df5b330019e9aefcabf /drivers/scsi/bnx2i | |
parent | 5565461e30c15525c431814dd612118a78d05992 (diff) |
bnx2i: Make boot_nic entry visible in the sysfs session objects
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>
Diffstat (limited to 'drivers/scsi/bnx2i')
-rw-r--r-- | drivers/scsi/bnx2i/bnx2i_iscsi.c | 3 |
1 files changed, 3 insertions, 0 deletions
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) | |||
2235 | case ISCSI_PARAM_TGT_RESET_TMO: | 2235 | case ISCSI_PARAM_TGT_RESET_TMO: |
2236 | case ISCSI_PARAM_IFACE_NAME: | 2236 | case ISCSI_PARAM_IFACE_NAME: |
2237 | case ISCSI_PARAM_INITIATOR_NAME: | 2237 | case ISCSI_PARAM_INITIATOR_NAME: |
2238 | case ISCSI_PARAM_BOOT_ROOT: | ||
2239 | case ISCSI_PARAM_BOOT_NIC: | ||
2240 | case ISCSI_PARAM_BOOT_TARGET: | ||
2238 | return S_IRUGO; | 2241 | return S_IRUGO; |
2239 | default: | 2242 | default: |
2240 | return 0; | 2243 | return 0; |