ib_srpt: Builds again on RHEL 5 (disable_proc; merged r2695 from the trunk).

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2697 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2010-11-13 22:30:40 +00:00
parent 7ea0f52811
commit d82145649d

View File

@@ -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 = {