From: Adheer Chandravanshi <[email protected]> This enables the support for host stats param.
Signed-off-by: Adheer Chandravanshi <[email protected]> --- drivers/scsi/bnx2i/bnx2i_iscsi.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/drivers/scsi/bnx2i/bnx2i_iscsi.c b/drivers/scsi/bnx2i/bnx2i_iscsi.c index 7289437..8b44c9a 100644 --- a/drivers/scsi/bnx2i/bnx2i_iscsi.c +++ b/drivers/scsi/bnx2i/bnx2i_iscsi.c @@ -2201,6 +2201,18 @@ static umode_t bnx2i_attr_is_visible(int param_type, int param) case ISCSI_HOST_PARAM_NETDEV_NAME: case ISCSI_HOST_PARAM_HWADDRESS: case ISCSI_HOST_PARAM_IPADDRESS: + case ISCSI_HOST_PARAM_LOGIN_ACCEPT_RSPS: + case ISCSI_HOST_PARAM_LOGIN_OTHER_FAILS: + case ISCSI_HOST_PARAM_LOGIN_AUTHENTICATION_FAILS: + case ISCSI_HOST_PARAM_LOGIN_AUTHORIZATION_FAILS: + case ISCSI_HOST_PARAM_LOGIN_NEGOTIATION_FAILS: + case ISCSI_HOST_PARAM_LOGIN_REDIRECT_RSPS: + case ISCSI_HOST_PARAM_LOGOUT_NORMAL_RSPS: + case ISCSI_HOST_PARAM_LOGOUT_OTHER_RSPS: + case ISCSI_HOST_PARAM_DIGEST_ERR: + case ISCSI_HOST_PARAM_TIMEOUT_ERR: + case ISCSI_HOST_PARAM_FORMAT_ERR: + case ISCSI_HOST_PARAM_SESSION_FAILS: return S_IRUGO; default: return 0; -- 1.8.3.1 -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/open-iscsi. For more options, visit https://groups.google.com/d/optout.
