mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-20 12:11:26 +00:00
ib_srpt: Builds again on RHEL 5 (enable_proc).
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2696 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -3314,6 +3314,7 @@ static uint16_t srpt_get_scsi_transport_version(struct scst_tgt *scst_tgt)
|
||||
return 0x0940; /* SRP */
|
||||
}
|
||||
|
||||
#if !defined(CONFIG_SCST_PROC)
|
||||
static ssize_t show_req_lim(struct kobject *kobj,
|
||||
struct kobj_attribute *attr, char *buf)
|
||||
{
|
||||
@@ -3350,6 +3351,7 @@ static const struct attribute *srpt_sess_attrs[] = {
|
||||
&srpt_req_lim_delta_attr.attr,
|
||||
NULL
|
||||
};
|
||||
#endif
|
||||
|
||||
/* SCST target template for the SRP target implementation. */
|
||||
static struct scst_tgt_template srpt_template = {
|
||||
|
||||
Reference in New Issue
Block a user